Elm Weekly - Issue #137
Structuring Elm code with and without code generation, using Task and Process.sleep, a couple of example apps, and building a design system with Elm.
Articles and Discussion
Jezen Thomas discusses how he structures Elm code, including message types, the update function, and nested record updates with lenses.
Mimicking Choice with Delayed Generators
Tyrone Shillingford demonstrates how to use Task and Process.sleep to simulate delays.
A trick to auto wire Elm pages
Andrey Koppel describes an approach for managing the wiring for pages in an application that has ~150 of them. There is a bit of code generation involved.
Tools and Projects
The Ember Tutorial's "Super Rentals" app written in Elm
Dwayne Crooks has implemented the "Super Rentals" app from the Ember Tutorial in Elm. You can check out the demo as well.
Andrew MacMurray has put together an alternative implementation of the Realworld example app with a GraphQL backend (and elm-graphql) and frontend done with elm-ui.
MiniLaTeX: LaTeX in the Browser — jxxcarlson.medium.com
James Carlson has announced a public alpha release of MiniLaTeX, an app for doing LaTeX in the browser. It runs on Lamdera, so both the frontend and the backend are written in Elm.
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 email@example.com, or just hit Reply.