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
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
88 people like thisPosted: 14 years ago by fholm
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
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
373 people like thisPosted: 14 years ago by Blake Coverett
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
collections (16) dsl (23) wpf (20) computation builder (17) math (35) pattern matching (15) silverlight (22) mailboxprocessor (27) lazy (20) reflection (19) string (29) array (22) parsing (28) quotations (21) fold (22) recursion (33) html (16) computation expression (15) algorithms (26) web (29)
Antonio Cisternino (8) Brian Berns (9) Robert Pickering (10) Rick Minerich (15) fholm (26) Evgeniy Andreev (13) Eirik Tsarpalis (89) Fabio Galuppo (14) Nick Palladinos (66) Ankur Dhama (20) Cesar Mendoza (17) Kit Eason (51) Phillip Trelford (87) Vesa Karvonen (8) Carsten König (10) Zhukoff Dima (8) Tao Liu (17) nagat01 (19) Taha Hachana (12) Samuel Bosch (12)
Database contains 3200 snippets out of which 1714 is public.