Hacker News new | ask | show | jobs
by peoplefromibiza 1740 days ago
> There is no beautiful syntax for destructuring all that stuff with default values, unfortunately.

Actually there is one: records with default values.

https://erlang.org/doc/programming_examples/records.html