F# Snippets

Recently added snippets

  • Simple example of cross platform Eto forms library

    Simple example of Eto library usage for drawing

    Posted: 4 days ago by Antonio Cisternino

  • Reversing RELEASE_NOTES.md

    Reversing RELEASE_NOTES.md Very ugly version hacked together in a minute

    Posted: 12 days ago by Gustavo Guerra

  • Event stream projection with actors

    An example of using an actor (MailboxProcessor) to coordinate the projection of events from an event stream into a persisted projection. This example covers handling simple concurrency conflicts via also persisting and checking the latest event ID with with projection. The update command will take the current projection and apply all new events before persisting it back. The rebuild command will ignore an existing projection and replay all events in the stream.

    Posted: 14 days ago by Daniel Bradley

Popular snippets

  • NUnit Sugar

    Some simple functions for writing more idiomatic F# tests with NUnit.

    76 people like this
    Posted: 3 years ago by Ryan Riley

  • Hello world (F#)

    Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.

    161 people like this
    Posted: 3 years ago by Tomas Petricek

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    328 people like this
    Posted: 3 years ago by Blake Coverett

Snippets by tags

Async (68) collections (13) lists (13) sequences (43) Seq (42) string (15) tryfsharp (41) F# (33) agent (17) DSL (21) fold (13) SilverLight (21) Learning F# (15) Design Patterns (18) WPF (15) lazy (17) parsing (21) math (28) reflection (18) game (22) computation builder (13) list (39) monad (18) tutorial (15) Kata (16) Sequence (28) MailboxProcessor (21) recursion (24) Algorithms (21) web (15)
View all..

Snippets by authors

View all..

Database contains 1467 snippets out of which 1102 are public.