令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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
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
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
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
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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
tryfsharp (48) json (16) collections (16) generic programming (17) computation expression (15) http (18) game (32) seq (54) kata (17) math (35) lists (15) string (29) lazy (20) pattern matching (15) staging (18) parsing (28) silverlight (22) fold (22) html (16) mailboxprocessor (27)
Zhukoff Dima (8) Faisal Waris (37) Phillip Trelford (87) Fabio Galuppo (14) Tuomas Hietanen (80) Samuel Bosch (12) Tomas Petricek (150) Nick Palladinos (66) Eirik Tsarpalis (89) Rick Minerich (15) devshorts (11) nagat01 (19) Joel Huang (13) Kit Eason (51) Brian Berns (9) Vesa Karvonen (8) Gauthier Segay (11) Antonio Cisternino (8) Tao Liu (17) Cesar Mendoza (17)
Database contains 3208 snippets out of which 1719 is public.