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
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 15 years ago by Nick Palladinos
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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 14 years ago by Tao Liu
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 14 years ago by Tao Liu
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 15 years ago by Antonio Cisternino
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
73 people like thisPosted: 14 years ago by Tomas Petricek
kata (17) lists (15) tutorial (17) algorithms (26) web (29) mailboxprocessor (27) json (16) computation builder (17) fold (22) computation expression (15) monad (24) generic programming (17) agent (20) seq (54) silverlight (22) http (18) wpf (20) reflection (19) tryfsharp (48) list (56)
Vesa Karvonen (8) Taha Hachana (12) Zhukoff Dima (8) Cesar Mendoza (17) Rick Minerich (15) fholm (26) Joel Huang (13) Tuomas Hietanen (80) devshorts (11) David Klein (16) nagat01 (19) NIck Palladinos (14) Ankur Dhama (20) mavnn (17) Fabio Galuppo (14) Evgeniy Andreev (13) Tomas Petricek (150) Gauthier Segay (11) Ryan Riley (25) Brian Berns (9)
Database contains 3207 snippets out of which 1719 is public.