defconstant - library for defining constants in your module

I was puzzled at first by the usefulness of this but after reading the code, I get it and it’s very cool.

I like the doc additions, @axelson. I feel that while getting an actual error over a “won’t match” warning you would get with def is quite useful, I see the bigger value prop of defconst to be that it avoids this problem, so perhaps calling that out as well would be good.

1 Like