Skip to content

Playing around with Record Type Alias Combinators #59

@upsiflu

Description

@upsiflu

@wolfadex's elm-weekly newsletter brought this article to me, in which @jmpavlick showcases how a record parametrized over a builder-function can produce builder compositions in a stunningly beautiful fashion.

I want to document my process of understanding and reproducing this gem here.

Because I have a hunch that if can make the code of the Ui type (and perhaps also the Layout type) much more self-explanatory. Plus, I had thought about adding builders in the Url codec as well as in the application module, and RTACs look like supercharged builders: a builder itself produces a record of chained builders.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions