4
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 19 Jun 2023
4 points (100.0% liked)
Rust Programming
9435 readers
1 users here now
founded 7 years ago
MODERATORS
As far as I know, these are referred to as refinement/range/pattern types. There's some official discussion here (nothing in the language yet). There's a library called flux though that implements a form of it