Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 7 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/
2 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
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 15 years ago by Novox
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
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
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
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
83 people like thisPosted: 14 years ago by Dmitri Pavlenkov
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: 11 years ago by Muhammad Mugees Asif
list (56) json (16) generic programming (17) math (35) staging (18) kata (17) async (98) http (18) array (22) algorithms (26) learning f# (16) computation expression (15) game (32) parsing (28) lazy (20) wpf (20) mailboxprocessor (27) design patterns (18) tutorial (17) agent (20)
Tuomas Hietanen (80) fholm (26) Fabio Galuppo (14) Ankur Dhama (20) NIck Palladinos (14) Antonio Cisternino (8) Joel Huang (13) Gauthier Segay (11) Cesar Mendoza (17) Taha Hachana (12) devshorts (11) Rick Minerich (15) David Klein (16) mavnn (17) Samuel Bosch (12) Kit Eason (51) Faisal Waris (37) Ryan Riley (25) Phillip Trelford (87) Evgeniy Andreev (13)
Database contains 3207 snippets out of which 1719 is public.