Y
Hacker News
new
|
ask
|
show
|
jobs
by
sparkie
326 days ago
There's
refinement types
, which are less general than dependant types, but sufficient to provide ranges, and simpler to implement because the type only needs to be associated with a predicate.