Just use the concat
0 people like thisPosted: 28 days 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: 2 months ago by Tomas Petricek
Uses StringBuilder to achieve performance.
2 people like thisPosted: 3 months ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 3 months ago by Phillip Trelford
Interactive computation that asks the user questions
9 people like thisPosted: 7 months ago by Tomas Petricek
Making QR-code image having contact information (VCard) with Google Chart API. If you scan this image with mobile phone, you can directly add new person to your contacts.
7 people like thisPosted: 7 months ago by Tuomas Hietanen
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 13 years ago by Tao Liu
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
185 people like thisPosted: 14 years ago by Tomas Petricek
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 14 years ago by Nick Palladinos
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 14 years ago by Alex Muscar
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
185 people like thisPosted: 14 years ago by Tomas Petricek
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 14 years ago by Alex Muscar
kata (17) learning f# (16) tutorial (17) reflection (19) wpf (20) http (18) recursion (33) collections (16) monad (24) silverlight (22) pattern matching (15) regex (17) seq (54) design patterns (18) sequence (32) f# (43) sequences (48) lazy (20) dsl (23) string (29)
Ankur Dhama (20) mavnn (17) Fabio Galuppo (14) Rick Minerich (15) Tao Liu (17) Faisal Waris (37) Gauthier Segay (11) Phillip Trelford (87) Tomas Petricek (150) Eirik Tsarpalis (89) NIck Palladinos (14) Kit Eason (51) Taha Hachana (12) Tuomas Hietanen (76) Evgeniy Andreev (13) Joel Huang (13) Brian Berns (9) Carsten König (10) Zhukoff Dima (8) devshorts (11)
Database contains 3198 snippets out of which 1713 is public.