Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: yesterday 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
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 15 years ago by Nick Palladinos
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).
83 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
An asynchronous sequence is similar to the seq
Posted: 14 years ago by Tomas Petricek
This is to demonstrate that: (1) there are many ways to solve the same problems; (2) operators can be grouped together into data structures and act as data; (3) you can have fun in F# in many ways.
57 people like thisPosted: 14 years ago by Dmitry Soshnikov
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
74 people like thisPosted: 15 years ago by Tomas Petricek
lists (15) game (32) pattern matching (15) computation builder (17) learning f# (16) reflection (19) lazy (20) algorithms (26) http (18) design patterns (18) html (16) recursion (33) silverlight (22) generic programming (17) kata (17) f# (43) computation expression (15) async (98) math (35) quotations (21)
NIck Palladinos (14) Kit Eason (51) Tuomas Hietanen (80) Phillip Trelford (87) Eirik Tsarpalis (89) fholm (26) Fabio Galuppo (14) Robert Pickering (10) Evgeniy Andreev (13) Joel Huang (13) nagat01 (19) Samuel Bosch (12) Nick Palladinos (66) Tao Liu (17) Brian Berns (9) Ryan Riley (25) Taha Hachana (12) mavnn (17) Faisal Waris (37) Carsten König (10)
Database contains 3207 snippets out of which 1719 is public.