Exemplary convenience wrappers for some of the System.
Posted: 15 days ago by Cody
Just use the concat
0 people like thisPosted: 1 month 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: 3 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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 13 years ago by Tao Liu
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
100 people like thisPosted: 14 years ago by Neil Carrier
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
86 people like thisPosted: 14 years ago by Novox
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
73 people like thisPosted: 14 years ago by Tomas Petricek
Strategy pattern in F#
83 people like thisPosted: 13 years ago by Tao Liu
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
tryfsharp (48) sequence (32) array (22) async (98) recursion (33) http (18) learning f# (16) sequences (48) wpf (20) staging (18) computation builder (17) tutorial (17) html (16) collections (16) seq (54) algorithms (26) generic programming (17) fold (22) game (32) computation expression (15)
Zhukoff Dima (8) Fabio Galuppo (14) mavnn (17) Tuomas Hietanen (76) nagat01 (19) Gauthier Segay (11) Evgeniy Andreev (13) Cesar Mendoza (17) Samuel Bosch (12) Rick Minerich (15) Nick Palladinos (66) fholm (26) Tomas Petricek (150) Joel Huang (13) Robert Pickering (10) NIck Palladinos (14) Kit Eason (51) Faisal Waris (37) Vesa Karvonen (8) Phillip Trelford (87)
Database contains 3198 snippets out of which 1713 is public.