令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 4 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 6 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: 9 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: 9 months ago by Tuomas Hietanen
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
Invoke the methods from incompatible types
111 people like thisPosted: 14 years ago by Tao Liu
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
85 people like thisPosted: 14 years ago by Tao Liu
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
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 15 years ago by fholm
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
http (18) wpf (20) list (56) recursion (33) web (29) monad (24) html (16) agent (20) mailboxprocessor (27) computation builder (17) f# (43) seq (54) array (22) pattern matching (15) reflection (19) string (29) silverlight (22) algorithms (25) generic programming (17) staging (18)
Robert Pickering (10) David Klein (16) mavnn (17) Eirik Tsarpalis (89) nagat01 (19) Tomas Petricek (150) Rick Minerich (15) Evgeniy Andreev (13) fholm (26) Phillip Trelford (87) Zhukoff Dima (8) Fabio Galuppo (14) Gauthier Segay (11) Brian Berns (9) Ryan Riley (25) Tuomas Hietanen (80) NIck Palladinos (14) Tao Liu (17) Cesar Mendoza (17) Carsten König (10)
Database contains 3208 snippets out of which 1719 is public.