6 ms·
While it would be nice to also have some way to mark some stored value as immutable, the reason it doesn't support "consts of any type" is because consts in Go
by morelisp 4y ago
While it would be nice to also have some way to mark some stored value as immutable, the reason it doesn't support "consts of any type" is because consts in Go are specifically not an extant value. They're a syntactic object more like a macro.