On 9/17/12 6:52 AM, deadalnix wrote:
Regardless, the solution at this point is going to be to add std.typecons.NonNullable. It would be in there already, but the pull request with it needed more work, and it hasn't been resubmitted yet.I don't think this is implementable as a lib in a satisfying way.
It is, but it needs just a bit of language support in constructors. Walter never got around to it.
Andrei