Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: 23 hours 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: 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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 14 years ago by Alex Muscar
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 14 years ago by fholm
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 14 years ago by Tao Liu
web (29) f# (43) async (98) tutorial (17) lists (15) list (56) fold (22) sequence (32) http (18) design patterns (18) learning f# (16) algorithms (26) computation expression (15) mailboxprocessor (27) string (29) html (16) kata (17) tryfsharp (48) pattern matching (15) wpf (20)
Joel Huang (13) Fabio Galuppo (14) Rick Minerich (15) Cesar Mendoza (17) nagat01 (19) Taha Hachana (12) Samuel Bosch (12) Phillip Trelford (87) Gauthier Segay (11) Vesa Karvonen (8) Evgeniy Andreev (13) Antonio Cisternino (8) Zhukoff Dima (8) Faisal Waris (37) Eirik Tsarpalis (89) devshorts (11) Tomas Petricek (150) Carsten König (10) Robert Pickering (10) Nick Palladinos (66)
Database contains 3207 snippets out of which 1719 is public.