令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 2 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 4 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: 6 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: 6 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: 7 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: 7 months ago by Tuomas Hietanen
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
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
127 people like thisPosted: 15 years ago by Blake Coverett
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
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
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
lazy (20) fold (22) f# (43) agent (20) monad (24) web (29) quotations (21) design patterns (18) game (32) algorithms (25) list (56) html (16) recursion (33) computation builder (17) pattern matching (15) http (18) generic programming (17) parsing (28) computation expression (15) collections (16)
Samuel Bosch (12) Faisal Waris (37) mavnn (17) Phillip Trelford (87) Gauthier Segay (11) David Klein (16) devshorts (11) Nick Palladinos (66) Antonio Cisternino (8) Taha Hachana (12) Robert Pickering (10) Kit Eason (51) Fabio Galuppo (14) Eirik Tsarpalis (89) fholm (26) Vesa Karvonen (8) nagat01 (19) Ankur Dhama (20) Brian Berns (9) NIck Palladinos (14)
Database contains 3208 snippets out of which 1719 is public.