Recently added snippets
F# computation expressions do not allow monadic expressions inside `finally` clauses. If we allow ourselves a bit of ugliness this can be circumvented by using a combinator. Here's an implementation for asynchronous workflows and a small application.
Posted: yesterday by Eirik Tsarpalis
Functional programming operators related to the BCL ImmutableDictionary type.
Posted: 3 days ago by Phillip Trelford
Given a list of lists, the function crossJoin outputs all combination of elements from the inner lists, i.e. each combination is a list which contains elements from each of the inner lists in the input. Note: Order is not preserved
Posted: 8 days ago by Faisal Waris
Posted: 8 days ago by Pitch Rock
Simplistic helpers for formatting dates and strings in a web server (strip HTML tags when reading RSS feeds, nicely format dates etc.)
Posted: 15 days ago by Tomas Petricek
Sample code snippet to group the data into buckets
Posted: 15 days ago by Tamizhvendan
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
368 people like this
Posted: 1 years ago by Muhammad Mugees Asif
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
341 people like this
Posted: 4 years ago by Blake Coverett
get the list of ethernet sql servers
83 people like this
Posted: 4 years ago by nCdy
Invoke the methods from incompatible types
94 people like this
Posted: 3 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.
83 people like this
Posted: 4 years ago by Neil Carrier
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
80 people like this
Posted: 4 years ago by fholm
Snippets by tagsView all..
Snippets by authorsView all..
Database contains 1641 snippets out of which 1208 are public.