Word guessing game using ASCII art.
1 people like thisPosted: 9 days ago by Phillip Trelford
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: 1 month 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: 1 month ago by Phillip Trelford
An implementation of minimal adaptive cells
0 people like thisPosted: 2 months ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 4 months ago by Cody
Just use the concat
0 people like thisPosted: 6 months ago by Tuomas Hietanen
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
71 people like thisPosted: 14 years ago by Tomas Petricek
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
76 people like thisPosted: 14 years ago by Tomas Petricek
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 14 years ago by fholm
Strategy pattern in F#
83 people like thisPosted: 13 years ago by Tao Liu
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
76 people like thisPosted: 14 years ago by Tomas Petricek
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: 14 years ago by Tomas Petricek
lists (15) design patterns (18) async (98) pattern matching (15) recursion (33) array (22) regex (17) tutorial (17) computation builder (17) f# (43) mailboxprocessor (27) json (15) html (16) agent (20) lazy (20) fold (22) parsing (28) algorithms (26) wpf (20) sequences (48)
Taha Hachana (12) Robert Pickering (10) Rick Minerich (15) Phillip Trelford (87) Evgeniy Andreev (13) mavnn (17) Nick Palladinos (66) Brian Berns (9) Cesar Mendoza (17) Eirik Tsarpalis (89) Joel Huang (13) Vesa Karvonen (8) devshorts (11) Gauthier Segay (11) Tuomas Hietanen (76) Tomas Petricek (150) Carsten König (10) Ankur Dhama (20) fholm (26) Tao Liu (17)
Database contains 3200 snippets out of which 1714 is public.