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: 7 hours 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: 7 hours ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 17 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: 17 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
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
83 people like thisPosted: 14 years ago by Dmitri Pavlenkov
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 14 years ago by Phillip Trelford
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: 14 years ago by Tomas Petricek
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
84 people like thisPosted: 14 years ago by Tomas Petricek
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
list (56) json (16) quotations (21) reflection (19) collections (16) staging (18) f# (43) tryfsharp (48) lists (15) async (98) lazy (20) math (35) mailboxprocessor (27) agent (20) recursion (33) html (16) sequences (48) parsing (28) monad (24) silverlight (22)
Tuomas Hietanen (80) Tao Liu (17) Tomas Petricek (150) Samuel Bosch (12) Ryan Riley (25) Joel Huang (13) Faisal Waris (37) Eirik Tsarpalis (89) Antonio Cisternino (8) Fabio Galuppo (14) Rick Minerich (15) Taha Hachana (12) Carsten König (10) Cesar Mendoza (17) nagat01 (19) mavnn (17) David Klein (16) Brian Berns (9) Gauthier Segay (11) NIck Palladinos (14)
Database contains 3205 snippets out of which 1719 is public.