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: 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
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
F# implementation of RO_ref from the "Effective ML" talk.
90 people like thisPosted: 13 years ago by fholm
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
76 people like thisPosted: 14 years ago by Tomas Petricek
Factory pattern in F#
81 people like thisPosted: 13 years ago by Tao Liu
version 1 is http://fssnip.net/62. This new version support convert from any existing function to a converter function by using composition and pipeline. The convert function is to make the function signature agree to the IValueConverter interface. You can add new functions in the FunctionLibrary module and reuse the class definition to reduce the coding effort. The first sample is to show how to make the converter pipeline work, the second one is a debugger converter used to debug the data binding problem.
90 people like thisPosted: 13 years ago by Tao Liu
Invoke the methods from incompatible types
110 people like thisPosted: 13 years ago by Tao Liu
tutorial (17) fold (22) recursion (33) quotations (21) tryfsharp (48) game (32) algorithms (26) mailboxprocessor (27) regex (17) lists (15) lazy (20) computation expression (15) silverlight (22) pattern matching (15) learning f# (16) array (22) design patterns (18) sequences (48) html (16) parsing (28)
Ryan Riley (25) Robert Pickering (10) Taha Hachana (12) Tao Liu (17) Joel Huang (13) Rick Minerich (15) Carsten König (10) Nick Palladinos (66) Samuel Bosch (12) Gauthier Segay (11) Antonio Cisternino (8) Vesa Karvonen (8) Tomas Petricek (150) Kit Eason (51) devshorts (11) Cesar Mendoza (17) nagat01 (19) Brian Berns (9) Eirik Tsarpalis (89) Fabio Galuppo (14)
Database contains 3198 snippets out of which 1713 is public.