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: yesterday 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: yesterday by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 18 days 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: 18 days 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#.
1 people like thisPosted: 1 month 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: 3 months ago by Tuomas Hietanen
Strategy pattern in F#
83 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
F# implementation of RO_ref from the "Effective ML" talk.
92 people like thisPosted: 14 years ago by fholm
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: 14 years ago by Antonio Cisternino
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
69 people like thisPosted: 14 years ago by Rick Minerich
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 14 years ago by Blake Coverett
computation builder (17) parsing (28) sequences (48) algorithms (26) kata (17) f# (43) staging (18) pattern matching (15) recursion (33) http (18) regex (17) reflection (19) generic programming (17) async (98) dsl (23) design patterns (18) computation expression (15) learning f# (16) tutorial (17) list (56)
Tao Liu (17) nagat01 (19) Tomas Petricek (150) Cesar Mendoza (17) Carsten König (10) Phillip Trelford (87) Vesa Karvonen (8) Gauthier Segay (11) Rick Minerich (15) Samuel Bosch (12) Tuomas Hietanen (80) mavnn (17) Taha Hachana (12) Eirik Tsarpalis (89) Kit Eason (51) Brian Berns (9) devshorts (11) Fabio Galuppo (14) Ryan Riley (25) Nick Palladinos (66)
Database contains 3205 snippets out of which 1719 is public.