令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
127 people like thisPosted: 15 years ago by Blake Coverett
Modular memoization within a pure functional setting that is implemented as a convenient computation builder.
92 people like thisPosted: 15 years ago by Nick Palladinos
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# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
90 people like thisPosted: 15 years ago by fholm
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: 15 years ago by Wolfgang Meyer
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
computation builder (17) mailboxprocessor (27) reflection (19) recursion (33) kata (17) computation expression (15) async (98) design patterns (18) sequences (48) generic programming (17) tutorial (17) pattern matching (15) parsing (28) tryfsharp (48) learning f# (16) regex (17) fold (22) quotations (21) seq (54) array (22)
Cesar Mendoza (17) fholm (26) Tuomas Hietanen (80) Carsten König (10) Robert Pickering (10) Tomas Petricek (150) Joel Huang (13) Evgeniy Andreev (13) Antonio Cisternino (8) Tao Liu (17) Phillip Trelford (87) Ryan Riley (25) NIck Palladinos (14) Kit Eason (51) Taha Hachana (12) mavnn (17) Nick Palladinos (66) Vesa Karvonen (8) nagat01 (19) devshorts (11)
Database contains 3208 snippets out of which 1719 is public.