Elm Weekly - Issue #182
Articles and Discussion
Fewer Operations on Custom Types is Valuable
Joël Quenneville considers why it's good that wrapping primitives in custom types restricts available operations.
Models That Match Reality — thoughtbot.com
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):
SiriusStarr/elm-review-pipeline-styles 1.0.0
This rule by SiriusStarr checks pipelines (|>
, <|
, >>
, <<
and parenthesised) to enforce things like maximum length.
lue-bird/elm-review-missing-record-field-lens 1.0.2
This rule by lue generates record field lenses for various lens packages (eg. arturopala/elm-monocle
and z5h/zipper
).
Talks and Podcasts
Elm Radio episode 41: elm-markdown — elm-radio.com
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!
If you would like to support my work on Elm Weekly and other Elm projects , please buy my book Practical Elm or sponsor me on GitHub .
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.