Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: yesterday 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
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
83 people like thisPosted: 14 years ago by Tao Liu
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 14 years ago by Nick Palladinos
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 14 years ago by Dmitri Pavlenkov
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: 14 years ago by Tomas Petricek
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
F# implementation of RO_ref from the "Effective ML" talk.
92 people like thisPosted: 14 years ago by fholm
parsing (28) sequence (32) pattern matching (15) lazy (20) algorithms (26) game (32) mailboxprocessor (27) html (16) async (98) regex (17) quotations (21) dsl (23) lists (15) sequences (48) computation expression (15) design patterns (18) agent (20) list (56) f# (43) web (29)
Faisal Waris (37) Carsten König (10) Antonio Cisternino (8) Kit Eason (51) Tao Liu (17) David Klein (16) Joel Huang (13) Cesar Mendoza (17) Fabio Galuppo (14) Samuel Bosch (12) devshorts (11) Ryan Riley (25) fholm (26) Rick Minerich (15) Taha Hachana (12) mavnn (17) Zhukoff Dima (8) nagat01 (19) Tomas Petricek (150) Gauthier Segay (11)
Database contains 3207 snippets out of which 1719 is public.