Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
james-mcelwain
on Sept 30, 2020
|
parent
|
context
|
favorite
| on:
Haskell GHC 9.0.1-alpha
> Rust has affine types (can be used no more than once), but not linear types (must be used exactly once)
Obviously it's not part of the type system itself, but doesn't the must_use attr get pretty close?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Obviously it's not part of the type system itself, but doesn't the must_use attr get pretty close?