Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 1 month 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.
1 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: 4 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: 4 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: 5 months ago by halcwb
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: 15 years ago by Tomas Petricek
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
383 people like thisPosted: 12 years ago by Muhammad Mugees Asif
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
73 people like thisPosted: 14 years ago by Tomas Petricek
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
89 people like thisPosted: 14 years ago by fholm
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
sequences (48) reflection (19) pattern matching (15) string (29) tutorial (17) web (29) monad (24) collections (16) math (35) agent (20) quotations (21) f# (43) wpf (20) computation builder (17) algorithms (26) html (16) generic programming (17) http (18) silverlight (22) tryfsharp (48)
Faisal Waris (37) Evgeniy Andreev (13) Samuel Bosch (12) nagat01 (19) Ryan Riley (25) Eirik Tsarpalis (89) mavnn (17) NIck Palladinos (14) Phillip Trelford (87) Brian Berns (9) Vesa Karvonen (8) Nick Palladinos (66) Tao Liu (17) Gauthier Segay (11) Ankur Dhama (20) Tomas Petricek (150) David Klein (16) Rick Minerich (15) Robert Pickering (10) Joel Huang (13)
Database contains 3208 snippets out of which 1719 is public.