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: 2 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/
0 people like thisPosted: 2 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: 3 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: 5 months ago by Tuomas Hietanen
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
383 people like thisPosted: 11 years ago by Muhammad Mugees Asif
This command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 14 years ago by Tao Liu
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 14 years ago by Alex Muscar
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
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: 14 years ago by Neil Carrier
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
async (98) computation builder (17) parsing (28) web (29) staging (18) game (32) math (35) learning f# (16) generic programming (17) wpf (20) agent (20) tryfsharp (48) kata (17) lists (15) sequence (32) collections (16) monad (24) tutorial (17) http (18) quotations (21)
Joel Huang (13) Samuel Bosch (12) Taha Hachana (12) nagat01 (19) Robert Pickering (10) Faisal Waris (37) Gauthier Segay (11) Eirik Tsarpalis (89) Antonio Cisternino (8) mavnn (17) fholm (26) Cesar Mendoza (17) Phillip Trelford (87) Brian Berns (9) Ankur Dhama (20) Rick Minerich (15) Tuomas Hietanen (80) Tomas Petricek (150) Fabio Galuppo (14) Evgeniy Andreev (13)
Database contains 3206 snippets out of which 1719 is public.