令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 3 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 4 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.
2 people like thisPosted: 7 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: 7 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: 7 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: 7 months ago by Tuomas Hietanen
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
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
Strategy pattern in F#
83 people like thisPosted: 14 years ago by Tao Liu
Invoke the methods from incompatible types
111 people like thisPosted: 14 years ago by Tao Liu
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
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
f# (43) html (16) sequence (32) silverlight (22) collections (16) recursion (33) agent (20) monad (24) json (16) async (98) wpf (20) dsl (23) staging (18) array (22) sequences (48) game (32) learning f# (16) regex (17) algorithms (25) lazy (20)
Ankur Dhama (20) Ryan Riley (25) Eirik Tsarpalis (89) devshorts (11) Gauthier Segay (11) Zhukoff Dima (8) Cesar Mendoza (17) Fabio Galuppo (14) Evgeniy Andreev (13) Samuel Bosch (12) Vesa Karvonen (8) Antonio Cisternino (8) Rick Minerich (15) nagat01 (19) Brian Berns (9) Tomas Petricek (150) Tuomas Hietanen (80) Phillip Trelford (87) Kit Eason (51) NIck Palladinos (14)
Database contains 3208 snippets out of which 1719 is public.