令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
186 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
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
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
90 people like thisPosted: 15 years ago by fholm
recursion (33) mailboxprocessor (27) math (35) fold (22) design patterns (18) parsing (28) monad (24) lists (15) sequences (48) html (16) array (22) http (18) computation expression (15) silverlight (22) game (32) staging (18) kata (17) algorithms (25) json (16) async (98)
Carsten König (10) David Klein (16) Kit Eason (51) Faisal Waris (37) Antonio Cisternino (8) devshorts (11) fholm (26) Fabio Galuppo (14) Taha Hachana (12) Ryan Riley (25) Zhukoff Dima (8) Samuel Bosch (12) Joel Huang (13) Vesa Karvonen (8) Brian Berns (9) Tomas Petricek (150) Ankur Dhama (20) Tuomas Hietanen (80) Tao Liu (17) Nick Palladinos (66)
Database contains 3208 snippets out of which 1719 is public.