Uses StringBuilder to achieve performance.
0 people like thisPosted: 8 days ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 17 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
This module implements a generic union-find data structure (from https://gist.github.com/vanaur/bea2b0ea57b58140b9c1d39a9b02e998).
6 people like thisPosted: 6 months ago by vanaur
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
185 people like thisPosted: 13 years ago by Tomas Petricek
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 13 years ago by Phillip Trelford
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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 13 years ago by Tao Liu
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
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
84 people like thisPosted: 13 years ago by Tomas Petricek
list (56) staging (18) tryfsharp (48) computation expression (15) quotations (21) kata (17) tutorial (17) html (16) math (35) game (32) async (98) reflection (19) collections (16) pattern matching (15) mailboxprocessor (27) recursion (33) array (22) http (18) string (28) algorithms (26)
fholm (26) Samuel Bosch (12) Taha Hachana (12) Evgeniy Andreev (13) Fabio Galuppo (14) Zhukoff Dima (8) Antonio Cisternino (8) David Klein (16) mavnn (17) nagat01 (19) Brian Berns (9) Rick Minerich (15) Gauthier Segay (11) Phillip Trelford (87) Joel Huang (13) Tomas Petricek (149) Ryan Riley (25) Faisal Waris (37) Eirik Tsarpalis (89) Kit Eason (51)
Database contains 3195 snippets out of which 1711 is public.