Hacker News new | past | comments | ask | show | jobs | submit login

Is there a reason not to force a linear typing system (at first) -- a la mercury? To simplify the lifetime analysis? And then in later versions that can be relaxed to affine typing, and then subsequently normal lifetimes?



Lifetime inference originates from region inference which is actually completely unrelated to linear/affine/uniqueness typing. Uniqueness typing can definitely complement lifetime inference, but isn't really generalizeable to it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: