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
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
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
75 people like thisPosted: 13 years ago by fholm
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
373 people like thisPosted: 13 years ago by Blake Coverett
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.
62 people like thisPosted: 13 years ago by Phillip Trelford
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
183 people like thisPosted: 13 years ago by Tomas Petricek
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
381 people like thisPosted: 10 years ago by Muhammad Mugees Asif
mailboxprocessor (27) design patterns (18) silverlight (22) lazy (20) computation builder (17) sequences (48) tryfsharp (48) dsl (23) parsing (28) algorithms (25) quotations (21) list (56) agent (20) f# (43) regex (17) json (15) html (15) monad (23) seq (54) kata (17)
NIck Palladinos (14) Gauthier Segay (11) Vesa Karvonen (8) Evgeniy Andreev (13) Samuel Bosch (12) Tao Liu (17) devshorts (11) nagat01 (19) Ankur Dhama (20) Fabio Galuppo (14) Robert Pickering (10) Carsten König (10) Antonio Cisternino (8) Ryan Riley (25) Kit Eason (51) Tuomas Hietanen (75) Eirik Tsarpalis (89) Rick Minerich (15) Phillip Trelford (87) Joel Huang (13)
Database contains 3181 snippets out of which 1708 is public.