F# Snippets

Recently added snippets

  • Simple example of cross platform Eto forms library

    Simple example of Eto library usage for drawing

    Posted: 5 days ago by Antonio Cisternino

  • Reversing RELEASE_NOTES.md

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

    Posted: 13 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: 16 days ago by Daniel Bradley

Popular snippets

  • get the list of LAN Sql servers

    get the list of ethernet sql servers

    77 people like this
    Posted: 3 years ago by nCdy

  • 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

  • Load XAML

    This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.

    94 people like this
    Posted: 3 years ago by Antonio Cisternino

  • Monadic Memoization

    Modular memoization within a pure functional setting that is implemented as a convenient computation builder.

    77 people like this
    Posted: 3 years ago by Nick Palladinos

  • Chain of responsibility II

    Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.

    97 people like this
    Posted: 3 years ago by Tao Liu

Snippets by tags

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

Snippets by authors

View all..

Database contains 1470 snippets out of which 1105 are public.