This module implements a generic union-find data structure (from https://gist.github.com/vanaur/bea2b0ea57b58140b9c1d39a9b02e998).
2 people like thisPosted: 17 days ago by vanaur
76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
0 people like thisPosted: 1 month ago by The streets
Stubbed methods for a computation expression with some explanations
4 people like thisPosted: 2 months ago by Jimmy Byrd
A function that will take a sequence of directory names and return a sequence of all file names within.
4 people like thisPosted: 2 months 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: 4 months ago by amieres
High-performance JSON parsing with System.Text.Json and F#
1 people like thisPosted: 5 months ago by Tuomas Hietanen
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
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
87 people like thisPosted: 13 years ago by fholm
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
82 people like thisPosted: 12 years ago by Tao Liu
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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
103 people like thisPosted: 12 years ago by Tao Liu
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
89 people like thisPosted: 13 years ago by Nick Palladinos
computation builder (17) tutorial (17) http (18) web (29) agent (20) array (22) collections (16) html (15) tryfsharp (48) sequences (48) pattern matching (15) fold (22) algorithms (26) parsing (28) sequence (32) f# (43) dsl (23) lazy (20) design patterns (18) computation expression (15)
Tuomas Hietanen (75) Tomas Petricek (148) Carsten König (10) Nick Palladinos (66) Fabio Galuppo (14) Robert Pickering (10) mavnn (17) Ankur Dhama (20) Joel Huang (13) NIck Palladinos (14) Faisal Waris (37) Rick Minerich (15) Taha Hachana (12) nagat01 (19) David Klein (16) Gauthier Segay (11) Vesa Karvonen (8) Evgeniy Andreev (13) Ryan Riley (25) fholm (26)
Database contains 3183 snippets out of which 1709 is public.