令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
0 people like thisPosted: 2 days ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
5 people like thisPosted: 1 month 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
0 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/
2 people like thisPosted: 4 months ago by Tuomas Hietanen
Invoke the methods from incompatible types
110 people like thisPosted: 14 years ago by Tao Liu
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
Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.
77 people like thisPosted: 15 years ago by Tomas Petricek
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
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.
67 people like thisPosted: 14 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
collections (16) computation expression (15) f# (43) sequences (48) pattern matching (15) kata (17) generic programming (17) sequence (32) seq (54) learning f# (16) fold (22) regex (17) html (16) quotations (21) json (16) game (32) string (29) computation builder (17) array (22) tryfsharp (48)
Antonio Cisternino (8) Kit Eason (51) Robert Pickering (10) David Klein (16) Tuomas Hietanen (80) devshorts (11) Ankur Dhama (20) Taha Hachana (12) Nick Palladinos (66) Gauthier Segay (11) Tao Liu (17) Cesar Mendoza (17) Carsten König (10) Faisal Waris (37) Eirik Tsarpalis (89) Joel Huang (13) Samuel Bosch (12) mavnn (17) Brian Berns (9) Fabio Galuppo (14)
Database contains 3208 snippets out of which 1719 is public.