Generate random hex-string and calculate base58encode. I made these for some initial BTC-testing, but didn't test too much... seems to work, but would need some unit-tests... :-) Feel free to update or add new versions.
2 people like thisPosted: 7 days ago by Tuomas Hietanen
Click on the tsunami.io button below to launch the online tsunami.io IDE with this snippet. Then select all the code (CTRL+A) and hit the Run button to start the game window, then just dock the window to the right of the code.. Click in the game window to launch missiles and save your cities.
0 people like thisPosted: 20 days ago by Phillip Trelford
An implementation of minimal adaptive cells
0 people like thisPosted: 1 month ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 3 months ago by Cody
Just use the concat
0 people like thisPosted: 5 months ago by Tuomas Hietanen
Higher-order functions for working with nested lists that reimplement various useful List module functions, but work on nested lists, preserving the original nesting strucutre when possible.
4 people like thisPosted: 6 months ago by Tomas Petricek
Here is an improved version twice shorter, than original
72 people like thisPosted: 14 years ago by Nick Canzoneri
F# implementation of RO_ref from the "Effective ML" talk.
90 people like thisPosted: 14 years ago by fholm
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 14 years ago by Nick Palladinos
F# implementation of RO_ref from the "Effective ML" talk.
90 people like thisPosted: 14 years ago by fholm
An asynchronous sequence is similar to the seq
Posted: 14 years ago by Tomas Petricek
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.
73 people like thisPosted: 14 years ago by Tomas Petricek
wpf (20) parsing (28) tryfsharp (48) design patterns (18) staging (18) learning f# (16) reflection (19) recursion (33) array (22) async (98) json (15) pattern matching (15) dsl (23) generic programming (17) monad (24) list (56) fold (22) web (29) regex (17) sequence (32)
Evgeniy Andreev (13) Joel Huang (13) Samuel Bosch (12) Kit Eason (51) mavnn (17) fholm (26) David Klein (16) Taha Hachana (12) Tuomas Hietanen (76) Antonio Cisternino (8) Eirik Tsarpalis (89) Cesar Mendoza (17) Tao Liu (17) Rick Minerich (15) Fabio Galuppo (14) Gauthier Segay (11) Faisal Waris (37) Brian Berns (9) Phillip Trelford (87) Tomas Petricek (150)
Database contains 3200 snippets out of which 1714 is public.