令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 8 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
Here is an improved version twice shorter, than original
72 people like thisPosted: 15 years ago by Nick Canzoneri
The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.
64 people like thisPosted: 15 years ago by Tomas Petricek
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
Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.
84 people like thisPosted: 14 years ago by Dmitri Pavlenkov
Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.
75 people like thisPosted: 15 years ago by Tomas Petricek
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
wpf (20) html (16) game (32) async (98) tryfsharp (48) quotations (21) json (16) tutorial (17) f# (43) kata (17) monad (24) pattern matching (15) recursion (33) learning f# (16) algorithms (25) reflection (19) http (18) collections (16) computation builder (17) silverlight (22)
Robert Pickering (10) Tomas Petricek (150) Tao Liu (17) fholm (26) Brian Berns (9) Zhukoff Dima (8) Nick Palladinos (66) Carsten König (10) Ryan Riley (25) Gauthier Segay (11) Vesa Karvonen (8) Ankur Dhama (20) mavnn (17) Eirik Tsarpalis (89) devshorts (11) Samuel Bosch (12) Cesar Mendoza (17) Phillip Trelford (87) Antonio Cisternino (8) Faisal Waris (37)
Database contains 3208 snippets out of which 1719 is public.