令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 11 days ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
6 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: 4 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
1 people like thisPosted: 4 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
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
74 people like thisPosted: 14 years ago by Tomas Petricek
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 people like thisPosted: 15 years ago by Tomas Petricek
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 15 years ago by Nick Palladinos
kata (17) math (35) collections (16) sequences (48) f# (43) staging (18) lists (15) tryfsharp (48) wpf (20) fold (22) recursion (33) algorithms (25) parsing (28) reflection (19) computation builder (17) mailboxprocessor (27) learning f# (16) sequence (32) seq (54) list (56)
Nick Palladinos (66) Kit Eason (51) Eirik Tsarpalis (89) Antonio Cisternino (8) Gauthier Segay (11) Joel Huang (13) Vesa Karvonen (8) Ryan Riley (25) mavnn (17) Tomas Petricek (150) Rick Minerich (15) fholm (26) Tao Liu (17) nagat01 (19) Cesar Mendoza (17) Ankur Dhama (20) Zhukoff Dima (8) Tuomas Hietanen (80) Faisal Waris (37) Evgeniy Andreev (13)
Database contains 3208 snippets out of which 1719 is public.