Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 17 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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 14 years ago by Tao Liu
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 14 years ago by Tomas Petricek
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
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 14 years ago by Tao Liu
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).
84 people like thisPosted: 14 years ago by Tao Liu
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
array (22) tutorial (17) sequences (48) kata (17) async (98) regex (17) agent (20) computation builder (17) math (35) computation expression (15) pattern matching (15) staging (18) json (16) seq (54) sequence (32) wpf (20) recursion (33) collections (16) algorithms (26) monad (24)
NIck Palladinos (14) Evgeniy Andreev (13) Faisal Waris (37) devshorts (11) Eirik Tsarpalis (89) Joel Huang (13) Vesa Karvonen (8) Rick Minerich (15) Gauthier Segay (11) mavnn (17) Nick Palladinos (66) Brian Berns (9) Samuel Bosch (12) nagat01 (19) Ryan Riley (25) fholm (26) Tuomas Hietanen (80) Tomas Petricek (150) Taha Hachana (12) Kit Eason (51)
Database contains 3207 snippets out of which 1719 is public.