This module implements a generic union-find data structure (from https://gist.github.com/vanaur/bea2b0ea57b58140b9c1d39a9b02e998).
2 people like thisPosted: 16 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
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
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
70 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
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
98 people like thisPosted: 13 years ago by Neil Carrier
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 13 years ago by Tuomas Hietanen
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
72 people like thisPosted: 13 years ago by Dmitri Pavlenkov
mailboxprocessor (27) agent (20) computation builder (17) generic programming (17) kata (17) silverlight (22) sequence (32) web (29) learning f# (16) f# (43) string (27) sequences (48) quotations (21) dsl (23) staging (18) computation expression (15) pattern matching (15) lazy (20) tryfsharp (48) design patterns (18)
Evgeniy Andreev (13) Phillip Trelford (87) Tuomas Hietanen (75) Ankur Dhama (20) mavnn (17) Joel Huang (13) Carsten König (10) David Klein (16) fholm (26) Taha Hachana (12) nagat01 (19) Nick Palladinos (66) Fabio Galuppo (14) Zhukoff Dima (8) Gauthier Segay (11) Rick Minerich (15) Eirik Tsarpalis (89) Antonio Cisternino (8) devshorts (11) Robert Pickering (10)
Database contains 3183 snippets out of which 1709 is public.