76a9142220867b1e79c403fafe339a809a65ed01cb697988ac
0 people like thisPosted: 9 days ago by The streets
Stubbed methods for a computation expression with some explanations
4 people like thisPosted: 1 month ago by Jimmy Byrd
A function that will take a sequence of directory names and return a sequence of all file names within.
3 people like thisPosted: 1 month ago by Shankar Velayudhan
The example uses Seq.splitBy and Seq.tryHeadTail twice to split the input file in two and then into several pieces collecting the output file names in the first section and the content in the subsequent pieces It can efficiently split a huge 2.2GB file into several subfiles without having to rescan the file or cache in memory any portions of the file apart from the current line.
5 people like thisPosted: 3 months ago by amieres
High-performance JSON parsing with System.Text.Json and F#
1 people like thisPosted: 4 months ago by Tuomas Hietanen
Making QR-code image having contact information (VCard) with Google Chart API. If you scan this image with mobile phone, you can directly add new person to your contacts.
8 people like thisPosted: 5 months ago by Tuomas Hietanen
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
122 people like thisPosted: 13 years ago by Blake Coverett
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
87 people like thisPosted: 13 years ago by fholm
Invoke the methods from incompatible types
109 people like thisPosted: 12 years ago by Tao Liu
I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.
122 people like thisPosted: 13 years ago by Blake Coverett
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 13 years ago by Robert Pickering
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: 13 years ago by Alex Muscar
tryfsharp (48) game (32) list (56) web (29) staging (18) sequence (32) design patterns (18) pattern matching (15) agent (20) parsing (28) algorithms (25) json (15) array (22) string (27) monad (23) async (98) wpf (20) collections (16) recursion (33) http (18)
Zhukoff Dima (8) Antonio Cisternino (8) Faisal Waris (37) NIck Palladinos (14) Joel Huang (13) Eirik Tsarpalis (89) Evgeniy Andreev (13) Brian Berns (9) Robert Pickering (10) Taha Hachana (12) Tao Liu (17) David Klein (16) Rick Minerich (15) Phillip Trelford (87) fholm (26) Nick Palladinos (66) devshorts (11) Ryan Riley (25) Samuel Bosch (12) Tuomas Hietanen (75)
Database contains 3181 snippets out of which 1708 is public.