Higher-order functions for working with nested lists that reimplement various useful List module functions, but work on nested lists, preserving the original nesting strucutre when possible.
2 people like thisPosted: 1 month ago by Tomas Petricek
Uses StringBuilder to achieve performance.
2 people like thisPosted: 1 month ago by shazmodan
Pseudoword generator based on code from Evan Fosmark circa 2009.
0 people like thisPosted: 1 month ago by Phillip Trelford
Interactive computation that asks the user questions
9 people like thisPosted: 5 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: 5 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: 6 months 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
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.
76 people like thisPosted: 13 years ago by Tomas Petricek
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
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
86 people like thisPosted: 13 years ago by Novox
get the list of ethernet sql servers
90 people like thisPosted: 13 years ago by nCdy
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
88 people like thisPosted: 13 years ago by fholm
parsing (28) silverlight (22) mailboxprocessor (27) html (16) array (22) tryfsharp (48) list (56) seq (54) algorithms (26) monad (24) agent (20) math (35) string (28) http (18) lists (15) regex (17) reflection (19) sequence (32) generic programming (17) async (98)
Nick Palladinos (66) Cesar Mendoza (17) Samuel Bosch (12) mavnn (17) Vesa Karvonen (8) Ankur Dhama (20) Brian Berns (9) David Klein (16) Antonio Cisternino (8) nagat01 (19) Fabio Galuppo (14) Robert Pickering (10) Tao Liu (17) Carsten König (10) Phillip Trelford (87) Evgeniy Andreev (13) Joel Huang (13) Rick Minerich (15) Tomas Petricek (150) NIck Palladinos (14)
Database contains 3197 snippets out of which 1712 is public.