Exemplary convenience wrappers for some of the System.
Posted: 27 days ago by Cody
Just use the concat
0 people like thisPosted: 2 months ago by Tuomas Hietanen
Higher-order functions for working with nested lists that reimplement various useful List module functions, but work on nested lists, preserving the original nesting strucutre when possible.
3 people like thisPosted: 4 months ago by Tomas Petricek
Uses StringBuilder to achieve performance.
2 people like thisPosted: 4 months ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 4 months ago by Phillip Trelford
Interactive computation that asks the user questions
9 people like thisPosted: 8 months ago by Tomas Petricek
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 13 years ago by Nick Palladinos
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
124 people like thisPosted: 14 years ago by Blake Coverett
Here is an improved version twice shorter, than original
72 people like thisPosted: 14 years ago by Nick Canzoneri
Strategy pattern in F#
83 people like thisPosted: 13 years ago by Tao Liu
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 14 years ago by Dmitri Pavlenkov
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 14 years ago by Robert Pickering
parsing (28) algorithms (26) math (35) lists (15) generic programming (17) agent (20) sequence (32) tutorial (17) recursion (33) game (32) array (22) string (29) learning f# (16) reflection (19) tryfsharp (48) regex (17) wpf (20) seq (54) dsl (23) computation expression (15)
Antonio Cisternino (8) Robert Pickering (10) Kit Eason (51) Carsten König (10) fholm (26) Ankur Dhama (20) Tuomas Hietanen (76) Gauthier Segay (11) NIck Palladinos (14) devshorts (11) mavnn (17) Phillip Trelford (87) Tao Liu (17) Samuel Bosch (12) Rick Minerich (15) Ryan Riley (25) Tomas Petricek (150) David Klein (16) nagat01 (19) Zhukoff Dima (8)
Database contains 3198 snippets out of which 1713 is public.