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: 4 days ago by Phillip Trelford
An implementation of minimal adaptive cells
0 people like thisPosted: 28 days 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: 4 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
Uses StringBuilder to achieve performance.
2 people like thisPosted: 6 months ago by shazmodan
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
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 13 years ago by Tao Liu
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 14 years ago by Alex Muscar
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
Invoke the methods from incompatible types
110 people like thisPosted: 13 years ago by Tao Liu
http (18) learning f# (16) computation expression (15) regex (17) fold (22) async (98) wpf (20) string (29) design patterns (18) monad (24) html (16) web (29) tutorial (17) agent (20) recursion (33) seq (54) computation builder (17) pattern matching (15) tryfsharp (48) parsing (28)
Taha Hachana (12) Phillip Trelford (87) Rick Minerich (15) Tuomas Hietanen (76) Samuel Bosch (12) Gauthier Segay (11) Antonio Cisternino (8) David Klein (16) Joel Huang (13) Carsten König (10) Ryan Riley (25) Ankur Dhama (20) Robert Pickering (10) Vesa Karvonen (8) Fabio Galuppo (14) Evgeniy Andreev (13) Kit Eason (51) Brian Berns (9) Eirik Tsarpalis (89) Cesar Mendoza (17)
Database contains 3200 snippets out of which 1714 is public.