Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: 2 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: 2 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: 2 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: 2 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/
0 people like thisPosted: 2 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
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 14 years ago by fholm
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
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
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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 14 years ago by Tao Liu
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 15 years ago by Blake Coverett
dsl (23) game (32) recursion (33) tutorial (17) f# (43) kata (17) web (29) monad (24) staging (18) reflection (19) math (35) computation expression (15) design patterns (18) sequences (48) mailboxprocessor (27) tryfsharp (48) seq (54) async (98) algorithms (26) wpf (20)
nagat01 (19) David Klein (16) Tuomas Hietanen (80) Antonio Cisternino (8) Robert Pickering (10) mavnn (17) Taha Hachana (12) Kit Eason (51) fholm (26) Gauthier Segay (11) Carsten König (10) Samuel Bosch (12) Ankur Dhama (20) Cesar Mendoza (17) Tao Liu (17) Vesa Karvonen (8) Brian Berns (9) Tomas Petricek (150) Joel Huang (13) NIck Palladinos (14)
Database contains 3207 snippets out of which 1719 is public.