Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: 22 hours 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: 3 months ago by halcwb
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
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
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 people like thisPosted: 15 years ago by Tomas Petricek
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
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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
http (18) string (29) generic programming (17) computation expression (15) reflection (19) silverlight (22) sequence (32) learning f# (16) math (35) dsl (23) recursion (33) pattern matching (15) agent (20) lists (15) tryfsharp (48) algorithms (26) mailboxprocessor (27) f# (43) seq (54) wpf (20)
devshorts (11) Rick Minerich (15) Joel Huang (13) NIck Palladinos (14) Vesa Karvonen (8) Kit Eason (51) Brian Berns (9) Tuomas Hietanen (80) Ankur Dhama (20) mavnn (17) Evgeniy Andreev (13) Robert Pickering (10) Faisal Waris (37) Eirik Tsarpalis (89) Antonio Cisternino (8) Ryan Riley (25) Tomas Petricek (150) Fabio Galuppo (14) Phillip Trelford (87) Carsten König (10)
Database contains 3207 snippets out of which 1719 is public.