令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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
A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async
Posted: 15 years ago by Ryan Riley
Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.
203 people like thisPosted: 15 years ago by Nick Palladinos
This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.
74 people like thisPosted: 15 years ago by Rick Minerich
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
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
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
silverlight (22) design patterns (18) sequences (48) staging (18) agent (20) reflection (19) math (35) dsl (23) parsing (28) list (56) computation builder (17) lists (15) seq (54) tryfsharp (48) kata (17) pattern matching (15) fold (22) mailboxprocessor (27) learning f# (16) generic programming (17)
Brian Berns (9) Tomas Petricek (150) Samuel Bosch (12) Cesar Mendoza (17) Carsten König (10) Fabio Galuppo (14) Vesa Karvonen (8) Evgeniy Andreev (13) Nick Palladinos (66) Tuomas Hietanen (80) mavnn (17) Phillip Trelford (87) Faisal Waris (37) devshorts (11) NIck Palladinos (14) Tao Liu (17) Rick Minerich (15) fholm (26) nagat01 (19) Gauthier Segay (11)
Database contains 3208 snippets out of which 1719 is public.