Hang a Fang
/// Double pass
rects.map(rect => toCoords(x).add(Inverse(toCoords(rect))))
// Single pass
rects.foldMap(rect => Min(toCoords(x).add(Inverse(toCoords(rect))))
Keep It Simple Stupid
/- Bounded join semi-lattice
- First
- Four Solutions to a Trivial Problem - Guy L. Steele Jr.
- YOW Lambda Jam 2016
- Propagators - Edward Kmett
- The Expression Problem and Lenses - Tony Morris