On Sunday 17 July 2011 19:29:02 teo wrote: > It looks like std.concurrency.spawn does not accept delegates. Is there > any reason for that?
Probably because it would have to accept a delegate where every variable that it had access too outside of its own scope was immutable, and I don't think that there's any way for the compiler to make such guarantees with a delegate. - Jonathan M Davis