On 11/30/13 11:38 AM, Kevin Ballard wrote:
The problem here is that the type system already understands the idea
of a `once` fn, it just has an artificial limitation that means it
can only apply that to a heap closure and not a stack closure.

No, it's merged with the idea of a heap/stack closure. Separating them out into separate axes would increase type system complexity.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to