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 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: 2 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: 19 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: 19 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
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
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: 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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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
Invoke the methods from incompatible types
110 people like thisPosted: 14 years ago by Tao Liu
dsl (23) math (35) tutorial (17) sequences (48) generic programming (17) json (16) learning f# (16) monad (24) game (32) staging (18) wpf (20) list (56) sequence (32) algorithms (26) computation builder (17) web (29) parsing (28) mailboxprocessor (27) lazy (20) http (18)
nagat01 (19) Samuel Bosch (12) fholm (26) Ankur Dhama (20) Kit Eason (51) Fabio Galuppo (14) Ryan Riley (25) Taha Hachana (12) Nick Palladinos (66) NIck Palladinos (14) Eirik Tsarpalis (89) Robert Pickering (10) mavnn (17) Brian Berns (9) Gauthier Segay (11) Zhukoff Dima (8) devshorts (11) Phillip Trelford (87) Tomas Petricek (150) Faisal Waris (37)
Database contains 3205 snippets out of which 1719 is public.