Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 23 days ago by Phillip Trelford
Download and install Ollama: https://ollama.com/ Ollama is a free common host for multiple different LLM-models like Google Gemma, OpenApi's GPT-OSS, Deepseek, etc.
0 people like thisPosted: 3 months ago by Tuomas Hietanen
ModelContextProtocol with FSharp (MCP with F#) https://modelcontextprotocol.io/docs/getting-started/intro Client and Server examples using https://github.com/modelcontextprotocol/csharp-sdk
0 people like thisPosted: 3 months ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 3 months ago by Tuomas Hietanen
Example of shaping an anonymous-object-as-JSON structure for an Azure dashboard using strong typing and minimal code using Farmer F# https://compositionalit.github.io/farmer/
2 people like thisPosted: 3 months ago by Tuomas Hietanen
A functional wrapper around MailboxProcessor that simplifies agent-based concurrency, adds error handling via events, and provides convenience functions to avoid common pitfalls when working with asynchronous message processing in F#.
2 people like thisPosted: 4 months ago by halcwb
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: 15 years ago by Alex Muscar
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.
109 people like thisPosted: 15 years ago by Antonio Cisternino
Invoke the methods from incompatible types
110 people like thisPosted: 14 years ago by Tao Liu
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
84 people like thisPosted: 15 years ago by Tomas Petricek
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 14 years ago by Tomas Petricek
dsl (23) regex (17) monad (24) collections (16) silverlight (22) algorithms (26) mailboxprocessor (27) kata (17) pattern matching (15) tutorial (17) design patterns (18) lazy (20) reflection (19) sequences (48) staging (18) generic programming (17) web (29) wpf (20) string (29) json (16)
Tao Liu (17) Joel Huang (13) nagat01 (19) NIck Palladinos (14) Eirik Tsarpalis (89) Tomas Petricek (150) Ankur Dhama (20) Phillip Trelford (87) fholm (26) Antonio Cisternino (8) Fabio Galuppo (14) Tuomas Hietanen (80) Zhukoff Dima (8) Evgeniy Andreev (13) Rick Minerich (15) Nick Palladinos (66) devshorts (11) Faisal Waris (37) Brian Berns (9) David Klein (16)
Database contains 3207 snippets out of which 1719 is public.