令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
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: 5 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
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 15 years ago by fholm
Some simple functions for writing more idiomatic F# tests with NUnit.
91 people like thisPosted: 15 years ago by Ryan Riley
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
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 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
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
sequence (32) parsing (28) f# (43) tutorial (17) web (29) reflection (19) monad (24) game (32) html (16) generic programming (17) http (18) regex (17) recursion (33) staging (18) wpf (20) math (35) json (16) quotations (21) computation builder (17) agent (20)
Tao Liu (17) Tomas Petricek (150) Kit Eason (51) Ankur Dhama (20) Phillip Trelford (87) fholm (26) Vesa Karvonen (8) Tuomas Hietanen (80) Joel Huang (13) Cesar Mendoza (17) Eirik Tsarpalis (89) Nick Palladinos (66) Brian Berns (9) Zhukoff Dima (8) Rick Minerich (15) NIck Palladinos (14) David Klein (16) nagat01 (19) Evgeniy Andreev (13) Gauthier Segay (11)
Database contains 3208 snippets out of which 1719 is public.