Elm Weekly - Issue #141
Lots of tips from elm.christmas, a pool game from Elm Game Jam, and a talk on what FP can learn from Smalltalk.
Articles and Discussion
This week, there are a whole lot of tips published as part of elm.christmas:
Unpacking Records — www.elm.christmas
Jørgen Tu Sveli shows how to destructure records.
Single-Constructor Custom Types — www.elm.christmas
Aksel Wester explains the point of custom types which only have a single constructor.
The power of let expressions — www.elm.christmas
Ragnhild Aalvik dives into destructuring in let expressions.
Letting functions in — www.elm.christmas
Isak Sunde Singh discusses defining functions in let expressions.
Climbing trees — www.elm.christmas
Ragnhild Aalvik shows how to work with nested custom types.
Simplify your code with ad hoc tuples — www.elm.christmas
Holger Ludvigsen demonstrates how to simplify code with tuples in case expressions.
Peeking Inside Lists — www.elm.christmas
Aksel Wester provides neat examples of pattern matching on lists.
Tools and Projects
Elm Game Jam: Pool — unsoundscapes.itch.io
As part of the Elm Game Jam #5, Andrey Kuzmin and Jared Smith are collaborating on a physically simulated pool game using w0rm/elm-physics, ianmackenzie/elm-3d-scene. You can find the source on GitHub.
The game jam is continuing until the end of the month, so you can still take part with your own game!
Talks
With conferences cancelled this year, Elm talks are getting hard to come by, so I'm going to experiment a bit by including talks about functional programming more generally.
This talk by Aditya Siram should be interesting for people who want to improve the Elm development experience:
That's it for this week!
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.