Elm Weekly - Issue #182
Articles and Discussion
Joël Quenneville considers why it's good that wrapping primitives in custom types restricts available operations.
In another post, Joël talks about building models that make impossible states impossible.
Tools and Projects
The set of
elm-review rules continues to expand at pace. There are well over 40 rules available. Here are a couple of recent examples (note that
elm-review can not only check code but also generate it):
This rule by SiriusStarr checks pipelines (
<< and parenthesised) to enforce things like maximum length.
This rule by lue generates record field lenses for various lens packages (eg.
Talks and Podcasts
Dillon Kearns and Jeroen Engels talk about the philosophy of extensibility in
dillonkearns/elm-markdown, and how to use the parsed Markdown blocks to do fun transformations.
Loïc Knuchel and Tereza Sokol do some live coding to implement a new SQL parser for the Azimutt database schema explorer:
That's it for this week!
To submit an Elm post, video or project for an upcoming issue of Elm Weekly, please tweet @elmweekly with a link or just reply to this email.