Hacker News new | ask | show | jobs
by PoignardAzur 698 days ago
Internally mutable types are allowed, but doing internal mutation isn't.

So a const function can return a cell, for instance, as long as the cell isn't mutated inside the function.