Elm Weekly - Issue #161
Articles and Discussion
Joël Quenneville shows what to do if you need more arguments than mapN functions provided by a package allow.
I wrote a fairly extensive guide to parsing URLs in Elm: routing, handling query strings, working with hash fragments, reusing parsers and more.
Tools and Projects
Generate pipeline and applicative decoders with json2elm
I've extended my tool, json2elm, to generate pipeline and applicative-style decoders (incidentally, relying on the andMap function Joël explains in the post above). It also generates imports and allows you to choose the function naming style now.
Simon Lydell's elm-tooling is a tool for managing Elm tools which are distributed as executables. You describe your tool config in elm-tooling.json, and then use elm-tooling to install the tools. Advantages over using npm include much smaller disk space used and faster install times.
Talks and Podcasts
In this talk at the Berlin TypeScript meetup, Maciej Sikora looks into how much of Elm pattern matching functionality can be replicated in TypeScript:
That's it for this week!
Please support my work on Elm Weekly and other Elm projects by sponsoring me on GitHub.
If you have something you’d like to submit for an upcoming edition, tweet @elmweekly with a link, send an email through to elmweekly@korban.net, or just hit Reply.