Now with Birdie you can do snapshot testing in Gleam! If you’ve never heard of it before think of an assertion library where you don’t have to write the expected value yourself, it’s really cool ✨
A couple of days ago I held my first ever talk! I hope it’s the first of a lot of future talks, I didn’t expect to have that much fun 😁
Thank you to everyone who joined to listen to me talk about Gleam 💜
For any Italian speaker here’s the recording!
One thing I love about Gleam is its great error messages. It really makes for a lovely developer experience not having to waste time decoding inscrutable errors!
There’s a new Glam release! Now you can use flexible breaks to get the most out of a single line ✨
Also now there’s a bunch of new step-by-step tutorials to get you started, check those out!
@ChShersh
Then you might like algebraic effects! They can kind of give you the best of both worlds: you can track side effects at the type level (and enforce purity when needed) and easily compose functions too ✨ In Unison it would look something like this
There’s a new cute logo as well ✨
If you find it interesting and want to help me out, you can also check the project’s open issues, there’s a couple of good first issues and I’ve tried to be really thorough in explaining how you can help 💜
In each tutorial you’ll be guided through the implementation of some rad pretty printers! The one I had the most fun writing is this one to get beautiful error messages
@michalmuskala
@gleamlang
Totally! I’ve actually discovered snapshot testing when working on the gleam compiler 😁 it’s great for testing the formatter and error messages
trie_again - a package implementing tries in Gleam 🌳
The implementation is really naive and doesn’t perform any compression for now but I had a lot of fun writing it!