令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
3 people like thisPosted: 20 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
Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.
100 people like thisPosted: 15 years ago by Neil Carrier
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
Invoke the methods from incompatible types
111 people like thisPosted: 14 years ago by Tao Liu
This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.
374 people like thisPosted: 15 years ago by Blake Coverett
silverlight (22) regex (17) computation expression (15) wpf (20) reflection (19) lists (15) algorithms (25) async (98) learning f# (16) array (22) agent (20) tryfsharp (48) tutorial (17) dsl (23) collections (16) pattern matching (15) math (35) lazy (20) quotations (21) string (29)
Robert Pickering (10) Brian Berns (9) Gauthier Segay (11) Vesa Karvonen (8) Tomas Petricek (150) Ryan Riley (25) Tao Liu (17) Cesar Mendoza (17) Kit Eason (51) NIck Palladinos (14) Eirik Tsarpalis (89) Ankur Dhama (20) Samuel Bosch (12) Joel Huang (13) Carsten König (10) fholm (26) Phillip Trelford (87) Nick Palladinos (66) David Klein (16) nagat01 (19)
Database contains 3208 snippets out of which 1719 is public.