Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 19 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
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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: 14 years ago by Rick Minerich
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
100 people like thisPosted: 15 years ago by Neil Carrier
html (16) http (18) pattern matching (15) agent (20) sequences (48) game (32) generic programming (17) async (98) dsl (23) list (56) regex (17) kata (17) reflection (19) computation builder (17) quotations (21) staging (18) monad (24) collections (16) array (22) fold (22)
Joel Huang (13) Kit Eason (51) Taha Hachana (12) Phillip Trelford (87) Evgeniy Andreev (13) Nick Palladinos (66) fholm (26) Eirik Tsarpalis (89) David Klein (16) devshorts (11) NIck Palladinos (14) nagat01 (19) Cesar Mendoza (17) Carsten König (10) mavnn (17) Gauthier Segay (11) Ankur Dhama (20) Faisal Waris (37) Fabio Galuppo (14) Rick Minerich (15)
Database contains 3207 snippets out of which 1719 is public.