令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
0 people like thisPosted: 22 hours ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
1 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
0 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
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 15 years ago by Antonio Cisternino
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
Invoke the methods from incompatible types
110 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
The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.
119 people like thisPosted: 15 years ago by Alex Muscar
Factory pattern in F#
81 people like thisPosted: 14 years ago by Tao Liu
mailboxprocessor (27) design patterns (18) fold (22) f# (43) regex (17) sequence (32) quotations (21) lists (15) generic programming (17) monad (24) parsing (28) reflection (19) game (32) recursion (33) algorithms (25) tryfsharp (48) sequences (48) http (18) async (98) lazy (20)
Gauthier Segay (11) Vesa Karvonen (8) Eirik Tsarpalis (89) Nick Palladinos (66) Carsten König (10) Faisal Waris (37) devshorts (11) Robert Pickering (10) Phillip Trelford (87) Antonio Cisternino (8) Brian Berns (9) Zhukoff Dima (8) Samuel Bosch (12) Taha Hachana (12) Kit Eason (51) Ankur Dhama (20) fholm (26) Tuomas Hietanen (80) NIck Palladinos (14) nagat01 (19)
Database contains 3208 snippets out of which 1719 is public.