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 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: 7 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: 25 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: 25 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
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
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 command redo-undo implement group the command under Do/Undo category.
70 people like thisPosted: 14 years ago by Tao Liu
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
91 people like thisPosted: 14 years ago by Nick Palladinos
fold (22) mailboxprocessor (27) dsl (23) reflection (19) list (56) computation expression (15) staging (18) tutorial (17) async (98) tryfsharp (48) kata (17) f# (43) string (29) wpf (20) design patterns (18) pattern matching (15) generic programming (17) web (29) sequences (48) parsing (28)
Robert Pickering (10) Joel Huang (13) Tuomas Hietanen (80) nagat01 (19) mavnn (17) Kit Eason (51) Faisal Waris (37) Rick Minerich (15) Tao Liu (17) Zhukoff Dima (8) Fabio Galuppo (14) NIck Palladinos (14) Eirik Tsarpalis (89) fholm (26) Tomas Petricek (150) Phillip Trelford (87) Nick Palladinos (66) Antonio Cisternino (8) Evgeniy Andreev (13) Ankur Dhama (20)
Database contains 3205 snippets out of which 1719 is public.