Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 10 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
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
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
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
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
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
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
tryfsharp (48) staging (18) sequences (48) html (16) kata (17) game (32) design patterns (18) dsl (23) f# (43) mailboxprocessor (27) fold (22) learning f# (16) silverlight (22) array (22) tutorial (17) monad (24) algorithms (26) recursion (33) async (98) reflection (19)
nagat01 (19) Robert Pickering (10) Rick Minerich (15) Taha Hachana (12) Carsten König (10) devshorts (11) Nick Palladinos (66) fholm (26) Fabio Galuppo (14) mavnn (17) Ryan Riley (25) Antonio Cisternino (8) Eirik Tsarpalis (89) Ankur Dhama (20) Tuomas Hietanen (80) Kit Eason (51) Samuel Bosch (12) David Klein (16) NIck Palladinos (14) Phillip Trelford (87)
Database contains 3207 snippets out of which 1719 is public.