令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 3 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 5 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.
2 people like thisPosted: 8 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: 8 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: 8 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: 8 months ago by Tuomas Hietanen
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
106 people like thisPosted: 14 years ago by Tao Liu
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
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
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
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
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.
84 people like thisPosted: 15 years ago by Dmitri Pavlenkov
monad (24) web (29) agent (20) computation builder (17) design patterns (18) parsing (28) f# (43) tutorial (17) html (16) mailboxprocessor (27) wpf (20) json (16) reflection (19) lazy (20) async (98) staging (18) quotations (21) dsl (23) sequence (32) math (35)
mavnn (17) Antonio Cisternino (8) devshorts (11) Carsten König (10) Rick Minerich (15) David Klein (16) Kit Eason (51) Nick Palladinos (66) Joel Huang (13) Ankur Dhama (20) fholm (26) Tomas Petricek (150) Tao Liu (17) Gauthier Segay (11) Ryan Riley (25) Brian Berns (9) Samuel Bosch (12) nagat01 (19) Vesa Karvonen (8) Tuomas Hietanen (80)
Database contains 3208 snippets out of which 1719 is public.