Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
0 people like thisPosted: yesterday 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: 2 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: 2 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: 3 months ago by halcwb
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
87 people like thisPosted: 15 years ago by Novox
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
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
Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.
77 people like thisPosted: 14 years ago by fholm
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
73 people like thisPosted: 14 years ago by Dmitri Pavlenkov
get the list of ethernet sql servers
90 people like thisPosted: 14 years ago by nCdy
http (18) math (35) agent (20) staging (18) reflection (19) string (29) recursion (33) async (98) generic programming (17) tryfsharp (48) parsing (28) kata (17) computation expression (15) regex (17) design patterns (18) pattern matching (15) quotations (21) game (32) sequences (48) sequence (32)
David Klein (16) Antonio Cisternino (8) Joel Huang (13) Samuel Bosch (12) Ankur Dhama (20) Robert Pickering (10) Vesa Karvonen (8) Evgeniy Andreev (13) devshorts (11) Rick Minerich (15) Phillip Trelford (87) fholm (26) Tuomas Hietanen (80) mavnn (17) Zhukoff Dima (8) Gauthier Segay (11) Kit Eason (51) Nick Palladinos (66) Faisal Waris (37) Eirik Tsarpalis (89)
Database contains 3207 snippets out of which 1719 is public.