Elm Weekly - Issue #144
The Elm community is seeing the year out on a high note: this week we have posts about facilitating tests with elm-review, combining Elm with Haskell's IHP framework, and using Elm with Snowpack. There is also a new test runner, a visual layout designer that outputs elm-ui code, and a big update to the Elm Catalog.
At the start of 2021, Elm Weekly is going on a break. I plan to publish the next newsletter at the end of January. Happy New Year!
Articles and Discussion
Oftentimes you you don't want the users of your module to create certain directly, and so you don't expose all of the constructors, but you might nonetheless need to create such values in your tests. How can you resolve this? Jeroen Engels explains how elm-review can allow you to expose type constructors only for testing.
Lars Ulvestad has completed this series of posts about combining Elm and a Haskell web framework IHP. Last week's issue featured part 1 (setting things up) and part 2 (passing an initial set of data from IHP to Elm). This week, you can read the rest of the story:
Tools and Projects
Andrea Peltrin has put out a first public version of a visual layout design tool that outputs mdgriffith/elm-ui code.
At last, my Elm Catalog has crossed the 1000 package mark! There are now 1053 Elm 0.19 packages and 88 tools listed across different categories. By popular request, you can now also search packages and tools.
Matthieu Pizenberg has released an alternative test runner written in Rust. This tool has a few differences from elm-test, such as capturing and reporting calls to Debug.log in failing tests, allowing you to filter the tests to run based on their description, and letting you specify the number of workers used to run the tests.
That's it for this week!
Please help me offset the costs of Elm Weekly and support my Elm work by sponsoring me on GitHub.