this post was submitted on 19 Jun 2023
4 points (100.0% liked)
Rust Programming
8159 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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