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
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).
85 people like thisPosted: 14 years ago by Tao Liu
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
185 people like thisPosted: 15 years ago by Tomas Petricek
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
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 14 years ago by Tao Liu
collections (16) recursion (33) lists (15) kata (17) wpf (20) html (16) tutorial (17) mailboxprocessor (27) f# (43) string (29) lazy (20) silverlight (22) web (29) seq (54) staging (18) array (22) sequences (48) pattern matching (15) generic programming (17) regex (17)
Nick Palladinos (66) Faisal Waris (37) NIck Palladinos (14) Joel Huang (13) Zhukoff Dima (8) Cesar Mendoza (17) Ryan Riley (25) Ankur Dhama (20) Gauthier Segay (11) Antonio Cisternino (8) Evgeniy Andreev (13) Eirik Tsarpalis (89) mavnn (17) fholm (26) Phillip Trelford (87) Tomas Petricek (150) devshorts (11) David Klein (16) Taha Hachana (12) Vesa Karvonen (8)
Database contains 3208 snippets out of which 1719 is public.