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
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 13 years ago by Alex Muscar
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 13 years ago by Nick Palladinos
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
301 people like thisPosted: 13 years ago by Nick Palladinos
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
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 13 years ago by Tuomas Hietanen
kata (17) list (56) array (22) tutorial (17) generic programming (17) mailboxprocessor (27) recursion (33) computation builder (17) web (29) learning f# (16) html (15) silverlight (22) pattern matching (15) monad (23) agent (20) http (18) design patterns (18) tryfsharp (48) async (98) regex (17)
Zhukoff Dima (8) NIck Palladinos (14) Antonio Cisternino (8) Tao Liu (17) David Klein (16) fholm (26) Vesa Karvonen (8) Faisal Waris (37) Rick Minerich (15) nagat01 (19) Fabio Galuppo (14) Tomas Petricek (148) Kit Eason (51) mavnn (17) Evgeniy Andreev (13) Carsten König (10) Cesar Mendoza (17) Brian Berns (9) Nick Palladinos (66) Tuomas Hietanen (75)
Database contains 3183 snippets out of which 1709 is public.