Elm Weekly - Issue #111
The Effect pattern for organising your code, type-checking a mini-language with Elm, an optics package, Elm activity dashboard, and a game jam.
Articles and Discussion
RealWorld example app architected with the Effect pattern
Rémi Lefèvre refactored the RealWorld example app to use the Effect pattern, which is a way of organising code that is helpful for testing and keeping complex applications manageable. Some great discussion in the post and replies. Also check out the link below for the introduction to the Effect pattern.
The Effect pattern: Transparent updates in Elm
Phil Hazelden introduces the Effect pattern and discusses its application to testing.
Type-checking the Mini-Language Arith in Elm
James Carlson describes an implementation of type checking for a mini-language from the book Types and Programming Languages.
Tools and Projects
Elm Game Jam #4 — Animals/Nature — itch.io
Andrey Kuzmin, Joël Quenneville and Yoshitaka Totsuka are running an Elm game jam. Submissions open until 7 July. Also check out Joël's talk about game dev below.
Artur Opala's package provides abstractions for manipulating complex records, inspired by Monocle, an optics library for Scala.
Artur Opala has also used Elm to create a GitHub activity dashboard. You can check out the activity in the Elm org, for example.
Dillon Kearns has released a new version of the statically typed site generator with hot data reloading, structured data for SEO and improved StaticHttp performance.
That's it for this week!
Please help me offset the costs of Elm Weekly 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 email@example.com, or just hit Reply.