Learning FP the hard way: Experiences on the Elm language
by Ossi Hanhinen, @ohanhi
with the support of Futurice
Licensed under CC BY 4.0.
This document is a collection of concepts and strategies to make large Elm projects modular and extensible.
We will start by thinking about the structure of signals in our program. Broadly speaking, your application state should live in one big
foldp. You will probably
merge a bunch of input signals into a single stream of updates. This sounds a bit crazy at first, but it is in the same ballpark as Om or Facebook's Flux. There are a couple major benefits to having a centralized home for your application state: