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 function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
70 people like thisPosted: 15 years ago by Rick Minerich
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
This is to demonstrate that: (1) there are many ways to solve the same problems; (2) operators can be grouped together into data structures and act as data; (3) you can have fun in F# in many ways.
57 people like thisPosted: 14 years ago by Dmitry Soshnikov
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
generic programming (17) web (29) list (56) fold (22) lists (15) kata (17) json (16) game (32) mailboxprocessor (27) sequences (48) sequence (32) f# (43) learning f# (16) agent (20) regex (17) algorithms (26) parsing (28) string (29) html (16) computation expression (15)
Joel Huang (13) David Klein (16) Carsten König (10) Evgeniy Andreev (13) Phillip Trelford (87) Tomas Petricek (150) Gauthier Segay (11) Nick Palladinos (66) nagat01 (19) devshorts (11) Ryan Riley (25) Vesa Karvonen (8) Tuomas Hietanen (80) Antonio Cisternino (8) Faisal Waris (37) Ankur Dhama (20) Fabio Galuppo (14) Eirik Tsarpalis (89) Taha Hachana (12) Rick Minerich (15)
Database contains 3208 snippets out of which 1719 is public.