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: 21 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
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
124 people like thisPosted: 14 years ago by Blake Coverett
Strategy pattern in F#
83 people like thisPosted: 13 years ago by Tao Liu
This is to demonstrate that: (1) there are many ways to solve the same problems; (2) operators can be grouped together into data structures and act as data; (3) you can have fun in F# in many ways.
57 people like thisPosted: 14 years ago by Dmitry Soshnikov
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 14 years ago by Nick Palladinos
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 14 years ago by Phillip Trelford
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 14 years ago by Robert Pickering
array (22) kata (17) learning f# (16) lists (15) recursion (33) monad (24) string (29) agent (20) async (98) reflection (19) computation expression (15) lazy (20) http (18) game (32) regex (17) fold (22) f# (43) math (35) seq (54) silverlight (22)
Kit Eason (51) Tuomas Hietanen (76) Zhukoff Dima (8) Eirik Tsarpalis (89) Nick Palladinos (66) Robert Pickering (10) Tao Liu (17) Gauthier Segay (11) Cesar Mendoza (17) Ryan Riley (25) Faisal Waris (37) Tomas Petricek (150) Vesa Karvonen (8) nagat01 (19) mavnn (17) Evgeniy Andreev (13) Joel Huang (13) devshorts (11) Samuel Bosch (12) Carsten König (10)
Database contains 3200 snippets out of which 1714 is public.