Interactive computation that asks the user questions
7 people like thisPosted: 1 month 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: 1 month 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.
3 people like thisPosted: 2 months ago by Tomas Petricek
This module implements a generic union-find data structure (from https://gist.github.com/vanaur/bea2b0ea57b58140b9c1d39a9b02e998).
5 people like thisPosted: 3 months ago by vanaur
76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
5 people like thisPosted: 4 months ago by The streets
Stubbed methods for a computation expression with some explanations
7 people like thisPosted: 5 months ago by Jimmy Byrd
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
76 people like thisPosted: 13 years ago by fholm
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 13 years ago by Robert Pickering
Here is an improved version twice shorter, than original
72 people like thisPosted: 13 years ago by Nick Canzoneri
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.
75 people like thisPosted: 13 years ago by Tomas Petricek
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: 12 years ago by Tao Liu
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
tryfsharp (48) string (27) generic programming (17) f# (43) list (56) regex (17) json (15) math (35) dsl (23) parsing (28) monad (24) reflection (19) sequence (32) agent (20) algorithms (26) kata (17) html (15) fold (22) collections (16) staging (18)
Robert Pickering (10) Rick Minerich (15) Tuomas Hietanen (75) Eirik Tsarpalis (89) Taha Hachana (12) Carsten König (10) Samuel Bosch (12) devshorts (11) fholm (26) Evgeniy Andreev (13) NIck Palladinos (14) Tomas Petricek (149) mavnn (17) Fabio Galuppo (14) Kit Eason (51) Ankur Dhama (20) Brian Berns (9) Antonio Cisternino (8) Faisal Waris (37) Nick Palladinos (66)
Database contains 3190 snippets out of which 1710 is public.