Magic 8 Ball in your console/terminal
1 people like thisPosted: 13 hours ago by Fabio Galuppo
BELLMAN-FORD algorithm to the shortest path based on pseudo code in Algortihms Unlocked
2 people like thisPosted: 20 hours ago by Fabio Galuppo
This is variant of http://www.fssnip.net/sA that is having a time-out. You may want to use this if you e.g. cache a database query result or other mutable data source.
4 people like thisPosted: yesterday by Tuomas Hietanen
Async task computation expression, in order to avoid Async.AwaitTask for C# interop
3 people like thisPosted: 5 days ago by cboudereau
Give a way to apply captures values on a given function
0 people like thisPosted: 6 days ago by cboudereau
excelColumnName 0 = "A" excelColumnName 1 = "B" excelColumnName 545 = "UBB" excelColumnName -1 = exception
1 people like thisPosted: 6 days ago by Gauthier Segay
Invoke the methods from incompatible types
96 people like thisPosted: 4 years ago by Tao Liu
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
289 people like thisPosted: 5 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.
61 people like thisPosted: 5 years ago by Tomas Petricek
Strategy pattern in F#
68 people like thisPosted: 4 years ago by Tao Liu
F# implementation of RO_ref from the "Effective ML" talk.
80 people like thisPosted: 5 years ago by fholm
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 5 years ago by Tomas Petricek
Silverlight (18) F# (36) lists (10) computation builder (13) sequence (19) game (14) seq (32) dsl (13) parsing (17) list (32) recursion (18) Algorithms (18) lazy (10) Sequence (10) MailboxProcessor (15) Ninety-Nine F# Problems (11) Sequences (22) quotations (13) monad (14) asynchronous (9)
Tao Liu (17) Nick Palladinos (54) Ankur Dhama (20) Zhukoff Dima (7) Kit Eason (46) mavnn (17) Eirik Tsarpalis (51) nagat01 (19) Cesar Mendoza (17) Mauricio Scheffer (7) Ryan Riley (23) Robert Nielsen (7) Johann Deneux (7) Tomas Petricek (136) Joel Huang (14) Tuomas Hietanen (45) Tim Robinson (7) devshorts (11) Faisal Waris (17) Samuel Bosch (12)
Database contains 1886 snippets out of which 1352 is public.