令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
3 people like thisPosted: 19 days ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 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
2 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: 5 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: 5 months ago by Tuomas Hietanen
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 15 years ago by Ryan Riley
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
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
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
85 people like thisPosted: 14 years ago by Tao Liu
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
This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.
85 people like thisPosted: 15 years ago by Tomas Petricek
list (56) kata (17) game (32) array (22) tryfsharp (48) mailboxprocessor (27) json (16) http (18) generic programming (17) lists (15) reflection (19) fold (22) sequence (32) math (35) seq (54) lazy (20) learning f# (16) async (98) agent (20) f# (43)
Antonio Cisternino (8) Samuel Bosch (12) Ankur Dhama (20) Kit Eason (51) NIck Palladinos (14) Faisal Waris (37) devshorts (11) Evgeniy Andreev (13) Cesar Mendoza (17) Rick Minerich (15) David Klein (16) Tao Liu (17) Zhukoff Dima (8) Carsten König (10) Eirik Tsarpalis (89) Taha Hachana (12) Nick Palladinos (66) nagat01 (19) Tomas Petricek (150) Phillip Trelford (87)
Database contains 3208 snippets out of which 1719 is public.