令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 9 days ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
6 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
1 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: 4 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: 4 months ago by Tuomas Hietanen
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
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
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
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
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
69 people like thisPosted: 15 years ago by Phillip Trelford
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
async (98) tryfsharp (48) silverlight (22) tutorial (17) array (22) sequence (32) kata (17) http (18) seq (54) mailboxprocessor (27) monad (24) list (56) web (29) recursion (33) lazy (20) staging (18) quotations (21) pattern matching (15) parsing (28) agent (20)
mavnn (17) Faisal Waris (37) Brian Berns (9) Rick Minerich (15) David Klein (16) Antonio Cisternino (8) devshorts (11) Samuel Bosch (12) Ryan Riley (25) Tomas Petricek (150) Kit Eason (51) Eirik Tsarpalis (89) Evgeniy Andreev (13) Tuomas Hietanen (80) Taha Hachana (12) fholm (26) Joel Huang (13) Vesa Karvonen (8) Carsten König (10) NIck Palladinos (14)
Database contains 3208 snippets out of which 1719 is public.