Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 13 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
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
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
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 people like thisPosted: 15 years ago by Tomas Petricek
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
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
sequence (32) list (56) fold (22) algorithms (26) collections (16) learning f# (16) web (29) regex (17) lists (15) array (22) silverlight (22) generic programming (17) f# (43) mailboxprocessor (27) monad (24) recursion (33) tutorial (17) agent (20) reflection (19) wpf (20)
Cesar Mendoza (17) Antonio Cisternino (8) devshorts (11) Gauthier Segay (11) Joel Huang (13) Tao Liu (17) mavnn (17) Phillip Trelford (87) Vesa Karvonen (8) nagat01 (19) Samuel Bosch (12) Kit Eason (51) NIck Palladinos (14) Tuomas Hietanen (80) Brian Berns (9) Tomas Petricek (150) Eirik Tsarpalis (89) fholm (26) Nick Palladinos (66) Fabio Galuppo (14)
Database contains 3207 snippets out of which 1719 is public.