76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
0 people like thisPosted: 9 days ago by The streets
Stubbed methods for a computation expression with some explanations
4 people like thisPosted: 1 month ago by Jimmy Byrd
A function that will take a sequence of directory names and return a sequence of all file names within.
3 people like thisPosted: 1 month ago by Shankar Velayudhan
The example uses Seq.splitBy and Seq.tryHeadTail twice to split the input file in two and then into several pieces collecting the output file names in the first section and the content in the subsequent pieces It can efficiently split a huge 2.2GB file into several subfiles without having to rescan the file or cache in memory any portions of the file apart from the current line.
5 people like thisPosted: 3 months ago by amieres
High-performance JSON parsing with System.Text.Json and F#
1 people like thisPosted: 4 months ago by Tuomas Hietanen
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.
8 people like thisPosted: 5 months ago by Tuomas Hietanen
Factory pattern in F#
79 people like thisPosted: 12 years ago by Tao Liu
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".]
83 people like thisPosted: 13 years ago by Novox
get the list of ethernet sql servers
90 people like thisPosted: 13 years ago by nCdy
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.
89 people like thisPosted: 12 years ago by Tao Liu
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.
82 people like thisPosted: 13 years ago by Tomas Petricek
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.
92 people like thisPosted: 13 years ago by Tomas Petricek
fparsec (15) generic programming (17) algorithms (25) game (32) string (27) quotations (21) silverlight (22) wpf (20) parsing (28) design patterns (18) f# (43) tutorial (17) kata (17) json (15) html (15) learning f# (16) list (56) sequence (32) web (29) tryfsharp (48)
Zhukoff Dima (8) Antonio Cisternino (8) Tuomas Hietanen (75) David Klein (16) Gauthier Segay (11) Kit Eason (51) Evgeniy Andreev (13) Cesar Mendoza (17) Brian Berns (9) Joel Huang (13) Tao Liu (17) devshorts (11) Nick Palladinos (66) fholm (26) Phillip Trelford (87) Tomas Petricek (148) Faisal Waris (37) Ankur Dhama (20) Eirik Tsarpalis (89) NIck Palladinos (14)
Database contains 3181 snippets out of which 1708 is public.