Timestamp: Time format in ISO 8601 with timezone. YYYYMMDDhhmmssffff+zzzz For example 2011-05-17 19:01:10.000 -0200 would be: 20110517190110000-0200
0 people like thisPosted: 29 days ago by Tuomas Hietanen
Word guessing game using ASCII art.
3 people like thisPosted: 1 month 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: 2 months 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: 2 months ago by Phillip Trelford
An implementation of minimal adaptive cells
0 people like thisPosted: 3 months ago by Onur Gumus
Exemplary convenience wrappers for some of the System.
Posted: 5 months ago by Cody
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 14 years ago by Novox
Strategy pattern in F#
83 people like thisPosted: 13 years ago by Tao Liu
Here is an improved version twice shorter, than original
72 people like thisPosted: 14 years ago by Nick Canzoneri
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 14 years ago by Novox
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 14 years ago by Alex Muscar
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
f# (43) async (98) dsl (23) tutorial (17) seq (54) web (29) collections (16) html (16) recursion (33) kata (17) http (18) math (35) computation expression (15) generic programming (17) string (29) sequence (32) reflection (19) computation builder (17) array (22) sequences (48)
Carsten König (10) Tomas Petricek (150) David Klein (16) Taha Hachana (12) NIck Palladinos (14) Phillip Trelford (87) Vesa Karvonen (8) Nick Palladinos (66) Kit Eason (51) Ankur Dhama (20) Tao Liu (17) Eirik Tsarpalis (89) Rick Minerich (15) Antonio Cisternino (8) Evgeniy Andreev (13) Faisal Waris (37) Gauthier Segay (11) Tuomas Hietanen (76) Zhukoff Dima (8) Ryan Riley (25)
Database contains 3200 snippets out of which 1714 is public.