令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
4 people like thisPosted: 4 months ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
8 people like thisPosted: 6 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: 8 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: 8 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: 9 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: 9 months ago by Tuomas Hietanen
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
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
get the list of ethernet sql servers
90 people like thisPosted: 15 years ago by nCdy
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 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
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
monad (24) silverlight (22) string (29) html (16) recursion (33) wpf (20) quotations (21) game (32) tryfsharp (48) lazy (20) sequence (32) tutorial (17) staging (18) design patterns (18) lists (15) kata (17) parsing (28) http (18) fold (22) pattern matching (15)
Vesa Karvonen (8) NIck Palladinos (14) Carsten König (10) Faisal Waris (37) Fabio Galuppo (14) mavnn (17) Samuel Bosch (12) Taha Hachana (12) Tao Liu (17) Ryan Riley (25) Zhukoff Dima (8) Brian Berns (9) David Klein (16) Cesar Mendoza (17) Ankur Dhama (20) Antonio Cisternino (8) nagat01 (19) Rick Minerich (15) devshorts (11) Tomas Petricek (150)
Database contains 3208 snippets out of which 1719 is public.