> I don't see why immutability has anything to do with constness... would
> you mind clarifying? Why does having transitive immutable also imply
> that we /must/ have transitive const?
One man's variable is other man's const.
foobar(const(char)[] data)
{
}
immutable(char)[] data = "....";
foobar(data);