3 ms·
If Elm had extensible unions I would advocate as much as possible staying away from nested hierarchies. They lock you into a single access pattern. Unfortunatel
by dwohnitmok 6y ago
If Elm had extensible unions I would advocate as much as possible staying away from nested hierarchies. They lock you into a single access pattern. Unfortunately Elm does not, so nested hierarchies it is.
Relevant Discourse thread that discussed this:
https://discourse.elm-lang.org/t/idea-extensible-union-types-and-benefits-they-bring-for-real-world-elm-code/6118/5 https://discourse.elm-lang.org/t/idea-extensible-union-types...