令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 9 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
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
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
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 const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 15 years ago by Alex Muscar
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
75 people like thisPosted: 15 years ago by Tomas Petricek
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
learning f# (16) wpf (20) tutorial (17) pattern matching (15) reflection (19) collections (16) http (18) sequences (48) computation expression (15) html (16) web (29) math (35) sequence (32) monad (24) async (98) algorithms (25) agent (20) list (56) computation builder (17) string (29)
Samuel Bosch (12) Tuomas Hietanen (80) Phillip Trelford (87) NIck Palladinos (14) Antonio Cisternino (8) David Klein (16) Joel Huang (13) Fabio Galuppo (14) Brian Berns (9) Faisal Waris (37) devshorts (11) Gauthier Segay (11) Rick Minerich (15) Cesar Mendoza (17) Vesa Karvonen (8) Ankur Dhama (20) Taha Hachana (12) Nick Palladinos (66) Tao Liu (17) Evgeniy Andreev (13)
Database contains 3208 snippets out of which 1719 is public.