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: 4 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: 4 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
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: 15 years ago by Rick Minerich
F# implementation of RO_ref from the "Effective ML" talk.
92 people like thisPosted: 14 years ago by fholm
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
124 people like thisPosted: 15 years ago by Blake Coverett
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
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
fold (22) game (32) string (29) design patterns (18) list (56) silverlight (22) seq (54) mailboxprocessor (27) computation expression (15) generic programming (17) algorithms (26) array (22) monad (24) lazy (20) quotations (21) sequence (32) math (35) http (18) reflection (19) tryfsharp (48)
Samuel Bosch (12) Ryan Riley (25) Evgeniy Andreev (13) Rick Minerich (15) Cesar Mendoza (17) fholm (26) Phillip Trelford (87) Tuomas Hietanen (80) Fabio Galuppo (14) Robert Pickering (10) Brian Berns (9) Taha Hachana (12) Gauthier Segay (11) Eirik Tsarpalis (89) Antonio Cisternino (8) Zhukoff Dima (8) Vesa Karvonen (8) NIck Palladinos (14) David Klein (16) Kit Eason (51)
Database contains 3208 snippets out of which 1719 is public.