令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 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
Factory pattern in F#
82 people like thisPosted: 14 years ago by Tao Liu
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
Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.
92 people like thisPosted: 14 years ago by Wolfgang Meyer
F# implementation of RO_ref from the "Effective ML" talk.
93 people like thisPosted: 14 years ago by fholm
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 15 years ago by Dmitri Pavlenkov
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
json (16) design patterns (18) sequences (48) pattern matching (15) parsing (28) wpf (20) async (98) algorithms (25) generic programming (17) computation builder (17) game (32) tryfsharp (48) tutorial (17) agent (20) monad (24) seq (54) computation expression (15) string (29) lists (15) dsl (23)
Zhukoff Dima (8) Fabio Galuppo (14) Taha Hachana (12) Robert Pickering (10) devshorts (11) Tuomas Hietanen (80) Rick Minerich (15) Ryan Riley (25) Kit Eason (51) NIck Palladinos (14) Gauthier Segay (11) Antonio Cisternino (8) nagat01 (19) mavnn (17) Eirik Tsarpalis (89) Ankur Dhama (20) Tomas Petricek (150) Samuel Bosch (12) Carsten König (10) Tao Liu (17)
Database contains 3208 snippets out of which 1719 is public.