Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 3 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: 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/
0 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
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 14 years ago by Ryan Riley
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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 ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 14 years ago by Phillip Trelford
mailboxprocessor (27) parsing (28) recursion (33) fold (22) async (98) html (16) math (35) f# (43) dsl (23) game (32) collections (16) array (22) agent (20) computation expression (15) string (29) wpf (20) kata (17) web (29) computation builder (17) lists (15)
Kit Eason (51) Gauthier Segay (11) Faisal Waris (37) mavnn (17) fholm (26) Taha Hachana (12) devshorts (11) Rick Minerich (15) Evgeniy Andreev (13) Antonio Cisternino (8) NIck Palladinos (14) Tao Liu (17) Carsten König (10) Phillip Trelford (87) Eirik Tsarpalis (89) Tomas Petricek (150) nagat01 (19) Tuomas Hietanen (80) Fabio Galuppo (14) Nick Palladinos (66)
Database contains 3207 snippets out of which 1719 is public.