令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
3 people like thisPosted: 1 month 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: 5 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: 5 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
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 15 years ago by fholm
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
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 15 years ago by Novox
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
105 people like thisPosted: 14 years ago by Tao Liu
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
design patterns (18) html (16) dsl (23) lists (15) generic programming (17) collections (16) game (32) async (98) seq (54) algorithms (25) quotations (21) agent (20) http (18) recursion (33) array (22) f# (43) json (16) regex (17) lazy (20) sequence (32)
Taha Hachana (12) NIck Palladinos (14) Brian Berns (9) David Klein (16) Nick Palladinos (66) Antonio Cisternino (8) Ryan Riley (25) Carsten König (10) Phillip Trelford (87) Tuomas Hietanen (80) devshorts (11) Samuel Bosch (12) Ankur Dhama (20) Tao Liu (17) Rick Minerich (15) Gauthier Segay (11) mavnn (17) Cesar Mendoza (17) Joel Huang (13) Zhukoff Dima (8)
Database contains 3208 snippets out of which 1719 is public.