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: 18 days 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: 18 days ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 1 month 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: 1 month 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: 2 months ago by halcwb
Timestamp: Time format in ISO 8601 with timezone. YYYYMMDDhhmmssffff+zzzz For example 2011-05-17 19:01:10.000 -0200 would be: 20110517190110000-0200
0 people like thisPosted: 4 months ago by Tuomas Hietanen
F# implementation of RO_ref from the "Effective ML" talk.
92 people like thisPosted: 14 years ago by fholm
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
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
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: 14 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
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 14 years ago by Nick Palladinos
design patterns (18) algorithms (26) computation expression (15) html (16) regex (17) string (29) math (35) dsl (23) learning f# (16) sequences (48) tryfsharp (48) staging (18) array (22) f# (43) seq (54) game (32) async (98) collections (16) mailboxprocessor (27) web (29)
Brian Berns (9) Eirik Tsarpalis (89) Antonio Cisternino (8) Carsten König (10) Kit Eason (51) Fabio Galuppo (14) NIck Palladinos (14) mavnn (17) Joel Huang (13) devshorts (11) Tuomas Hietanen (80) Gauthier Segay (11) nagat01 (19) Taha Hachana (12) fholm (26) Vesa Karvonen (8) Samuel Bosch (12) Faisal Waris (37) Evgeniy Andreev (13) Ankur Dhama (20)
Database contains 3206 snippets out of which 1719 is public.