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.
0 people like thisPosted: yesterday by Tomas Petricek
Uses StringBuilder to achieve performance.
0 people like thisPosted: 12 days ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 21 days ago by Phillip Trelford
Interactive computation that asks the user questions
9 people like thisPosted: 4 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: 4 months ago by Tuomas Hietanen
An example showing how to process list in a pipeline. We first use List.filter to return only even numbers and then use List.map to format them as strings.
4 people like thisPosted: 5 months ago by Tomas Petricek
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: 13 years ago by Tomas Petricek
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
88 people like thisPosted: 13 years ago by fholm
Here is an improved version twice shorter, than original
72 people like thisPosted: 13 years ago by Nick Canzoneri
Some simple functions for writing more idiomatic F# tests with NUnit.
90 people like thisPosted: 13 years ago by Ryan Riley
This is to demonstrate that: (1) there are many ways to solve the same problems; (2) operators can be grouped together into data structures and act as data; (3) you can have fun in F# in many ways.
57 people like thisPosted: 13 years ago by Dmitry Soshnikov
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 13 years ago by Wolfgang Meyer
web (29) algorithms (26) computation builder (17) kata (17) parsing (28) dsl (23) recursion (33) fold (22) monad (24) lists (15) lazy (20) computation expression (15) generic programming (17) agent (20) f# (43) async (98) http (18) silverlight (22) list (56) pattern matching (15)
Samuel Bosch (12) Ankur Dhama (20) fholm (26) David Klein (16) Taha Hachana (12) Brian Berns (9) Eirik Tsarpalis (89) Robert Pickering (10) Carsten König (10) Faisal Waris (37) Antonio Cisternino (8) Evgeniy Andreev (13) nagat01 (19) Tao Liu (17) Joel Huang (13) Gauthier Segay (11) Tomas Petricek (150) NIck Palladinos (14) devshorts (11) Vesa Karvonen (8)
Database contains 3196 snippets out of which 1712 is public.