Skip to content

Instantly share code, notes, and snippets.

View joemaidman's full-sized avatar

Joe Maidman joemaidman

View GitHub Profile
@staltz
staltz / introrx.md
Last active July 22, 2024 09:31
The introduction to Reactive Programming you've been missing
@isaacabraham
isaacabraham / SimpleTimetableParser.fs
Last active January 28, 2020 23:29
Parses ATOC timetable data in CIF format for UK national rail timetables (available at http://data.atoc.org/how-to). The parser has two main entry methods - loadStations, which parses the .MSN file into stations, and loadTimetables, which parses the .MCA portion of the ATOC dataset into timetables (and also uses the output of loadStations to cre…
open System
// Basic data structures
[<Flags>]
type Day =
| None = 0
| Mon = 1
| Tue = 2
| Wed = 4
| Thu = 8