令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
0 people like thisPosted: 1 hour ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 1 month 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
0 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
0 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/
2 people like thisPosted: 4 months ago by Tuomas Hietanen
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
70 people like thisPosted: 15 years ago by Rick Minerich
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
Invoke the methods from incompatible types
110 people like thisPosted: 14 years ago by Tao Liu
Invoke the methods from incompatible types
110 people like thisPosted: 14 years ago by Tao Liu
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
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
monad (24) sequences (48) regex (17) lazy (20) array (22) generic programming (17) computation builder (17) seq (54) math (35) reflection (19) computation expression (15) string (29) parsing (28) fold (22) game (32) async (98) learning f# (16) web (29) silverlight (22) dsl (23)
Gauthier Segay (11) fholm (26) Tuomas Hietanen (80) Brian Berns (9) Cesar Mendoza (17) Phillip Trelford (87) Ankur Dhama (20) Tomas Petricek (150) Rick Minerich (15) Taha Hachana (12) Zhukoff Dima (8) Evgeniy Andreev (13) Vesa Karvonen (8) Tao Liu (17) mavnn (17) Joel Huang (13) Carsten König (10) Faisal Waris (37) Ryan Riley (25) Samuel Bosch (12)
Database contains 3208 snippets out of which 1719 is public.