An implementation of minimal adaptive cells
0 people like thisPosted: 4 days ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 2 months ago by Cody
Just use the concat
0 people like thisPosted: 3 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.
4 people like thisPosted: 5 months ago by Tomas Petricek
Uses StringBuilder to achieve performance.
2 people like thisPosted: 5 months ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 6 months ago by Phillip Trelford
Factory pattern in F#
81 people like thisPosted: 13 years ago by Tao Liu
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
83 people like thisPosted: 14 years ago by Dmitri Pavlenkov
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 14 years ago by Tomas Petricek
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
84 people like thisPosted: 14 years ago by Tomas Petricek
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
83 people like thisPosted: 13 years ago by Tao Liu
staging (18) json (15) parsing (28) computation builder (17) html (16) reflection (19) agent (20) http (18) wpf (20) lists (15) math (35) string (29) array (22) recursion (33) computation expression (15) dsl (23) kata (17) pattern matching (15) seq (54) list (56)
Kit Eason (51) Eirik Tsarpalis (89) Carsten König (10) Fabio Galuppo (14) Taha Hachana (12) Gauthier Segay (11) Antonio Cisternino (8) Joel Huang (13) fholm (26) Evgeniy Andreev (13) Brian Berns (9) Robert Pickering (10) devshorts (11) Cesar Mendoza (17) Vesa Karvonen (8) Rick Minerich (15) Tomas Petricek (150) Samuel Bosch (12) Ankur Dhama (20) Tao Liu (17)
Database contains 3199 snippets out of which 1714 is public.