令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 5 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
9 people like thisPosted: 7 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: 9 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: 9 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: 10 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: 10 months ago by Tuomas Hietanen
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
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 15 years ago by Antonio Cisternino
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
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
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
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
92 people like thisPosted: 15 years ago by Nick Palladinos
recursion (33) kata (17) math (35) fold (22) web (29) f# (43) design patterns (18) json (16) generic programming (17) monad (24) lazy (20) sequences (48) parsing (28) tryfsharp (48) array (22) computation expression (15) computation builder (17) agent (20) seq (54) learning f# (16)
Ryan Riley (25) Samuel Bosch (12) Eirik Tsarpalis (89) Cesar Mendoza (17) Nick Palladinos (66) David Klein (16) Tuomas Hietanen (80) Rick Minerich (15) Taha Hachana (12) Tomas Petricek (150) Carsten König (10) Ankur Dhama (20) Faisal Waris (37) Gauthier Segay (11) Tao Liu (17) Fabio Galuppo (14) Evgeniy Andreev (13) Zhukoff Dima (8) Kit Eason (51) devshorts (11)
Database contains 3208 snippets out of which 1719 is public.