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.
0 people like thisPosted: 5 days ago by Tomas Petricek
This module implements a generic union-find data structure (from https://gist.github.com/vanaur/bea2b0ea57b58140b9c1d39a9b02e998).
2 people like thisPosted: 1 month ago by vanaur
76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
0 people like thisPosted: 2 months ago by The streets
Stubbed methods for a computation expression with some explanations
4 people like thisPosted: 3 months ago by Jimmy Byrd
A function that will take a sequence of directory names and return a sequence of all file names within.
4 people like thisPosted: 3 months ago by Shankar Velayudhan
The example uses Seq.splitBy and Seq.tryHeadTail twice to split the input file in two and then into several pieces collecting the output file names in the first section and the content in the subsequent pieces It can efficiently split a huge 2.2GB file into several subfiles without having to rescan the file or cache in memory any portions of the file apart from the current line.
5 people like thisPosted: 5 months ago by amieres
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 13 years ago by Ryan Riley
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
381 people like thisPosted: 10 years ago by Muhammad Mugees Asif
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: 13 years ago by Alex Muscar
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 13 years ago by Ryan Riley
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).
82 people like thisPosted: 12 years ago by Tao Liu
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
373 people like thisPosted: 13 years ago by Blake Coverett
kata (17) collections (16) wpf (20) web (29) sequence (32) computation builder (17) json (15) computation expression (15) sequences (48) mailboxprocessor (27) http (18) async (98) parsing (28) staging (18) array (22) lazy (20) learning f# (16) regex (17) design patterns (18) seq (54)
Samuel Bosch (12) Tuomas Hietanen (75) Tomas Petricek (148) Robert Pickering (10) NIck Palladinos (14) Rick Minerich (15) Phillip Trelford (87) devshorts (11) Kit Eason (51) Carsten König (10) Antonio Cisternino (8) Zhukoff Dima (8) mavnn (17) Fabio Galuppo (14) fholm (26) Eirik Tsarpalis (89) David Klein (16) Ankur Dhama (20) Joel Huang (13) Taha Hachana (12)
Database contains 3185 snippets out of which 1709 is public.