令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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
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
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
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
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 15 years ago by Novox
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
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
pattern matching (15) json (16) generic programming (17) sequence (32) fold (22) html (16) algorithms (25) wpf (20) design patterns (18) sequences (48) mailboxprocessor (27) silverlight (22) lazy (20) kata (17) lists (15) http (18) computation builder (17) parsing (28) tryfsharp (48) tutorial (17)
fholm (26) Joel Huang (13) Taha Hachana (12) Brian Berns (9) Kit Eason (51) Fabio Galuppo (14) Tao Liu (17) Ankur Dhama (20) nagat01 (19) Robert Pickering (10) Antonio Cisternino (8) Tuomas Hietanen (80) devshorts (11) Faisal Waris (37) Zhukoff Dima (8) Cesar Mendoza (17) mavnn (17) NIck Palladinos (14) Samuel Bosch (12) Ryan Riley (25)
Database contains 3208 snippets out of which 1719 is public.