令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
3 people like thisPosted: 1 month ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 2 months ago by Phillip Trelford
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.
1 people like thisPosted: 5 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
2 people like thisPosted: 5 months ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
1 people like thisPosted: 5 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/
3 people like thisPosted: 5 months ago by Tuomas Hietanen
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 15 years ago by Tomas Petricek
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
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: 15 years ago by Wolfgang Meyer
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
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.
85 people like thisPosted: 15 years ago by Tomas Petricek
algorithms (25) pattern matching (15) html (16) design patterns (18) tutorial (17) regex (17) sequence (32) fold (22) json (16) learning f# (16) mailboxprocessor (27) reflection (19) lazy (20) lists (15) computation expression (15) web (29) seq (54) list (56) agent (20) http (18)
Rick Minerich (15) Eirik Tsarpalis (89) nagat01 (19) Faisal Waris (37) Nick Palladinos (66) Kit Eason (51) Gauthier Segay (11) Ankur Dhama (20) Cesar Mendoza (17) Phillip Trelford (87) Joel Huang (13) Fabio Galuppo (14) Evgeniy Andreev (13) Ryan Riley (25) Carsten König (10) Zhukoff Dima (8) Tao Liu (17) Antonio Cisternino (8) David Klein (16) Tomas Petricek (150)
Database contains 3208 snippets out of which 1719 is public.