令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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: 5 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: 8 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: 8 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.
74 people like thisPosted: 15 years ago by Rick Minerich
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
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
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
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
74 people like thisPosted: 15 years ago by Tomas Petricek
generic programming (17) learning f# (16) agent (20) array (22) html (16) lists (15) algorithms (25) tryfsharp (48) design patterns (18) kata (17) sequence (32) monad (24) regex (17) string (29) tutorial (17) async (98) list (56) mailboxprocessor (27) computation expression (15) silverlight (22)
Brian Berns (9) Vesa Karvonen (8) Ankur Dhama (20) David Klein (16) Joel Huang (13) Tao Liu (17) Ryan Riley (25) Carsten König (10) Robert Pickering (10) Tomas Petricek (150) Gauthier Segay (11) Antonio Cisternino (8) Taha Hachana (12) Phillip Trelford (87) Eirik Tsarpalis (89) fholm (26) Faisal Waris (37) Nick Palladinos (66) NIck Palladinos (14) Rick Minerich (15)
Database contains 3208 snippets out of which 1719 is public.