Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
evertedsphere
58 days ago
|
parent
|
context
|
favorite
| on:
What would it take to add refinement types to Rust...
it is a refinement type over the base number type, where the predicate constrains the number to lie in an interval
e.g. { x:Int8 | 1 ≤ x ≤ 12 }
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
e.g. { x:Int8 | 1 ≤ x ≤ 12 }