Skip to content

Instantly share code, notes, and snippets.

@frangucc
frangucc / cta.js
Created December 29, 2015 04:56 — forked from lambdahands/cta.js
flow-type + immutable-js
/* @flow */
var T = require('immutable');
type Branch = T.List<string>
type TrainLine = T.Map<string, Branch>
type CTAMap = T.Map<string, TrainLine>
/*
* Representation of Chicago's train stops and branches