ruricolist / serapeum

Utilities beyond Alexandria
MIT License
420 stars 41 forks source link

Maybe make STATIC-LET bindings mutable #112

Closed phoe closed 2 years ago

phoe commented 2 years ago

(Moved from #108)

https://github.com/ruricolist/serapeum/commit/4781c27c2eb491b1c68a15178421b039103ee578 caused the static bindings created by static-let and static-let* to become immutable. I don't think there is a technological reason to do that, or much to worry about them being mutable from a position of Serapeum maintainer.

I think it would be more lispy in spirit to empower and trust the programmer, rather than try to prevent them from doing things they think they have a valid use case for. And, IMO, if people find use cases for writing to static local variables in C, they're gonna find those for CL.