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: 3 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: 3 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: 20 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: 20 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#.
2 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
An asynchronous sequence is similar to the seq
Posted: 14 years ago by Tomas Petricek
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 14 years ago by Dmitri Pavlenkov
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
124 people like thisPosted: 14 years ago by Blake Coverett
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 14 years ago by Ryan Riley
F# implementation of RO_ref from the "Effective ML" talk.
92 people like thisPosted: 14 years ago by fholm
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
array (22) silverlight (22) lazy (20) algorithms (26) lists (15) list (56) html (16) recursion (33) tutorial (17) http (18) string (29) learning f# (16) generic programming (17) staging (18) kata (17) seq (54) math (35) f# (43) agent (20) json (16)
Evgeniy Andreev (13) Joel Huang (13) David Klein (16) Rick Minerich (15) Vesa Karvonen (8) NIck Palladinos (14) Phillip Trelford (87) Samuel Bosch (12) Ryan Riley (25) Antonio Cisternino (8) fholm (26) Robert Pickering (10) Tuomas Hietanen (80) devshorts (11) Gauthier Segay (11) nagat01 (19) Faisal Waris (37) Eirik Tsarpalis (89) Cesar Mendoza (17) Tomas Petricek (150)
Database contains 3205 snippets out of which 1719 is public.