令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 11 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: 5 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: 5 months ago by Tuomas Hietanen
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
74 people like thisPosted: 14 years ago by Tomas Petricek
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
90 people like thisPosted: 14 years ago by fholm
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.
84 people like thisPosted: 14 years ago by Dmitri Pavlenkov
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
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).
85 people like thisPosted: 14 years ago by Tao Liu
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: 14 years ago by Wolfgang Meyer
f# (43) kata (17) reflection (19) math (35) learning f# (16) generic programming (17) lists (15) html (16) quotations (21) design patterns (18) collections (16) pattern matching (15) wpf (20) game (32) fold (22) silverlight (22) parsing (28) lazy (20) algorithms (25) json (16)
Ryan Riley (25) Vesa Karvonen (8) Antonio Cisternino (8) Rick Minerich (15) Faisal Waris (37) Carsten König (10) Joel Huang (13) Samuel Bosch (12) Gauthier Segay (11) Fabio Galuppo (14) Robert Pickering (10) Zhukoff Dima (8) NIck Palladinos (14) Tuomas Hietanen (80) nagat01 (19) mavnn (17) Nick Palladinos (66) Phillip Trelford (87) fholm (26) David Klein (16)
Database contains 3208 snippets out of which 1719 is public.