Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 people like thisPosted: 6 days 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.
0 people like thisPosted: 2 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: 2 months ago by Tuomas Hietanen
Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 3 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/
0 people like thisPosted: 3 months ago by Tuomas Hietanen
A functional wrapper around MailboxProcessor that simplifies agent-based concurrency, adds error handling via events, and provides convenience functions to avoid common pitfalls when working with asynchronous message processing in F#.
2 people like thisPosted: 4 months ago by halcwb
The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).
83 people like thisPosted: 14 years ago by Tao Liu
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
104 people like thisPosted: 14 years ago by Tao Liu
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.
83 people like thisPosted: 14 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
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
302 people like thisPosted: 15 years ago by Nick Palladinos
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
recursion (33) silverlight (22) tryfsharp (48) json (16) computation builder (17) pattern matching (15) parsing (28) html (16) array (22) http (18) lazy (20) design patterns (18) string (29) quotations (21) algorithms (26) learning f# (16) tutorial (17) kata (17) lists (15) staging (18)
fholm (26) devshorts (11) Robert Pickering (10) Phillip Trelford (87) Evgeniy Andreev (13) Gauthier Segay (11) Fabio Galuppo (14) Taha Hachana (12) NIck Palladinos (14) Nick Palladinos (66) Tomas Petricek (150) Joel Huang (13) Brian Berns (9) Samuel Bosch (12) Carsten König (10) Eirik Tsarpalis (89) Tao Liu (17) Cesar Mendoza (17) Ryan Riley (25) Vesa Karvonen (8)
Database contains 3207 snippets out of which 1719 is public.