令人愉快的 旅游信息网站, 继续发展 充满灵感。感谢!
2 people like thisPosted: 2 days ago by 方尖碑
Pong video game runnable inside fable.io. Controls are "A" for left, and "D" for right.
5 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
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: 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/
3 people like thisPosted: 4 months ago by Tuomas Hietanen
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
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: 15 years ago by Dmitri Pavlenkov
An asynchronous sequence is similar to the seq
Posted: 15 years ago by Tomas Petricek
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: 15 years ago by Dmitri Pavlenkov
We start with an initial value and then applying f repeatedly, until the value does not change anymore.
303 people like thisPosted: 15 years ago by Nick Palladinos
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
collections (16) game (32) web (29) sequences (48) parsing (28) quotations (21) http (18) generic programming (17) silverlight (22) sequence (32) html (16) f# (43) recursion (33) pattern matching (15) array (22) design patterns (18) fold (22) json (16) list (56) staging (18)
NIck Palladinos (14) Gauthier Segay (11) Ryan Riley (25) Samuel Bosch (12) Evgeniy Andreev (13) David Klein (16) Robert Pickering (10) Joel Huang (13) Kit Eason (51) devshorts (11) Tomas Petricek (150) nagat01 (19) Zhukoff Dima (8) fholm (26) Taha Hachana (12) Antonio Cisternino (8) Tao Liu (17) Nick Palladinos (66) Vesa Karvonen (8) Faisal Waris (37)
Database contains 3208 snippets out of which 1719 is public.