Elm programmers: are there higher-order abstractions you use to compose modules without manually defining parent product types and `update`?
Conversation
I'd love to know about this too. So far it involves a lot of manual labor.
1
I’m trying to evaluate essential v. incidental complexity here, and in general in the pattern of “pass everything down the tree.”
4
2
I suspect (but haven’t yet shown) that structural typing a la clojure.spec could be used to form composition abstractions.
I think there's a finite set of compositions, so it ought to be expressible with an abstraction.
1
Show replies


