In this session I switch up how I decode the flags passed to the Gleam & Lustre app on startup, using a Flags type and custom decoders with a single pass through the JSON decode function.
https://gleam.run
https://github.com/lustre-labs/lustre
It all started after I watched Kris Jenkin’s excellent chat with Louis Pilfold, Gleam’s creator, on Developer Voices:
https://www.youtube.com/watch?v=RntfkL8lUY4
—
Always Developing Playlist:- https://www.youtube.com/playlist?list=PLDWtdmaxq1few8CjnK4MC3LLBMVpi_aCS
Blog:- https://ianmjones.com
Gemini:- gemini://ianmjones.com
Mastodon:- https://fosstodon.org/@ianmjones
