Word guessing game using ASCII art.
0 people like thisPosted: yesterday 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: 5 months ago by Tuomas Hietanen
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 13 years ago by Tao Liu
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
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
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.
100 people like thisPosted: 14 years ago by Neil Carrier
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
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 14 years ago by Antonio Cisternino
lists (15) web (29) f# (43) fold (22) dsl (23) agent (20) recursion (33) list (56) generic programming (17) design patterns (18) quotations (21) computation expression (15) wpf (20) computation builder (17) string (29) monad (24) collections (16) reflection (19) learning f# (16) tutorial (17)
Gauthier Segay (11) Carsten König (10) Faisal Waris (37) devshorts (11) Vesa Karvonen (8) Kit Eason (51) Fabio Galuppo (14) Antonio Cisternino (8) Tuomas Hietanen (76) NIck Palladinos (14) mavnn (17) Nick Palladinos (66) Cesar Mendoza (17) Zhukoff Dima (8) Ryan Riley (25) Eirik Tsarpalis (89) Taha Hachana (12) Evgeniy Andreev (13) Ankur Dhama (20) Phillip Trelford (87)
Database contains 3200 snippets out of which 1714 is public.