令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 9 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
While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.
68 people like thisPosted: 15 years ago by Alex Muscar
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
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
383 people like thisPosted: 12 years ago by Muhammad Mugees Asif
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 15 years ago by Robert Pickering
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
lazy (20) tryfsharp (48) wpf (20) html (16) silverlight (22) collections (16) math (35) staging (18) http (18) async (98) pattern matching (15) design patterns (18) sequences (48) array (22) list (56) learning f# (16) mailboxprocessor (27) lists (15) game (32) agent (20)
nagat01 (19) Zhukoff Dima (8) Phillip Trelford (87) Taha Hachana (12) devshorts (11) Tuomas Hietanen (80) Cesar Mendoza (17) Antonio Cisternino (8) David Klein (16) Evgeniy Andreev (13) Kit Eason (51) Ryan Riley (25) Carsten König (10) Gauthier Segay (11) Ankur Dhama (20) fholm (26) Tomas Petricek (150) Joel Huang (13) Samuel Bosch (12) Robert Pickering (10)
Database contains 3208 snippets out of which 1719 is public.