Interactive computation that asks the user questions
7 people like thisPosted: 2 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: 2 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: 3 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: 4 months ago by vanaur
76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
5 people like thisPosted: 5 months ago by The streets
Stubbed methods for a computation expression with some explanations
7 people like thisPosted: 6 months ago by Jimmy Byrd
Here is an improved version twice shorter, than original
72 people like thisPosted: 13 years ago by Nick Canzoneri
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 13 years ago by Nick Palladinos
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
69 people like thisPosted: 13 years ago by Rick Minerich
Here is an improved version twice shorter, than original
72 people like thisPosted: 13 years ago by Nick Canzoneri
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
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 13 years ago by Alex Muscar
json (15) sequences (48) tryfsharp (48) algorithms (26) generic programming (17) reflection (19) list (56) math (35) fold (22) silverlight (22) tutorial (17) collections (16) kata (17) html (15) sequence (32) array (22) http (18) computation builder (17) learning f# (16) pattern matching (15)
Gauthier Segay (11) Vesa Karvonen (8) Antonio Cisternino (8) Kit Eason (51) Nick Palladinos (66) nagat01 (19) fholm (26) Taha Hachana (12) devshorts (11) Ankur Dhama (20) Robert Pickering (10) Zhukoff Dima (8) Eirik Tsarpalis (89) Carsten König (10) Samuel Bosch (12) Ryan Riley (25) Phillip Trelford (87) Tuomas Hietanen (75) David Klein (16) NIck Palladinos (14)
Database contains 3190 snippets out of which 1710 is public.