令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 10 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: 4 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: 4 months ago by Tuomas Hietanen
An asynchronous sequence is similar to the seq
Posted: 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
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
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: 14 years ago by Dmitri Pavlenkov
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
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
mailboxprocessor (27) seq (54) lazy (20) lists (15) reflection (19) computation expression (15) collections (16) fold (22) kata (17) list (56) array (22) game (32) staging (18) sequences (48) regex (17) quotations (21) tryfsharp (48) pattern matching (15) tutorial (17) async (98)
Tomas Petricek (150) Eirik Tsarpalis (89) Faisal Waris (37) Ryan Riley (25) Phillip Trelford (87) Antonio Cisternino (8) Carsten König (10) Samuel Bosch (12) Fabio Galuppo (14) Tuomas Hietanen (80) Tao Liu (17) mavnn (17) devshorts (11) Taha Hachana (12) Vesa Karvonen (8) David Klein (16) Ankur Dhama (20) Rick Minerich (15) Joel Huang (13) Nick Palladinos (66)
Database contains 3208 snippets out of which 1719 is public.