Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 5 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/
0 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
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
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: 15 years ago by Alex Muscar
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
regex (17) recursion (33) staging (18) async (98) reflection (19) http (18) game (32) string (29) html (16) computation expression (15) learning f# (16) dsl (23) tutorial (17) math (35) pattern matching (15) lazy (20) array (22) computation builder (17) wpf (20) kata (17)
David Klein (16) Samuel Bosch (12) Vesa Karvonen (8) fholm (26) Evgeniy Andreev (13) Ryan Riley (25) nagat01 (19) Tomas Petricek (150) Fabio Galuppo (14) Brian Berns (9) Nick Palladinos (66) Cesar Mendoza (17) Carsten König (10) Ankur Dhama (20) Phillip Trelford (87) Rick Minerich (15) Taha Hachana (12) Zhukoff Dima (8) Joel Huang (13) Gauthier Segay (11)
Database contains 3207 snippets out of which 1719 is public.