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
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
100 people like thisPosted: 15 years ago by Neil Carrier
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
Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.
237 people like thisPosted: 14 years ago by Tuomas Hietanen
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
algorithms (26) kata (17) tryfsharp (48) html (16) tutorial (17) http (18) collections (16) f# (43) silverlight (22) list (56) quotations (21) pattern matching (15) wpf (20) seq (54) math (35) dsl (23) regex (17) computation expression (15) async (98) array (22)
Gauthier Segay (11) Ryan Riley (25) Eirik Tsarpalis (89) Faisal Waris (37) Robert Pickering (10) Tomas Petricek (150) Nick Palladinos (66) Tuomas Hietanen (80) Rick Minerich (15) Brian Berns (9) NIck Palladinos (14) Fabio Galuppo (14) Vesa Karvonen (8) nagat01 (19) Carsten König (10) Tao Liu (17) Antonio Cisternino (8) devshorts (11) Joel Huang (13) fholm (26)
Database contains 3207 snippets out of which 1719 is public.