An example of Elm project organisation with a self-resembling architecture.
Compose View, Update, Message, Model, Subscriptions and Commands with Fractal Architecture.
Features:
- Module splitting
- Usage of
Browser.element - Module composition
- Subscription batching for subscribing to
Keyboardmessages from child modules
Since this example features Browser.element usage, it is impossible to build it with elm reactor.
You have to explicitly specify the --output=index.js
$ elm make src/Main.elm --output=index.js