Hacker News new | ask | show | jobs
by 1718627440 278 days ago
Aren't contracts a feature of the type system? They encode a specific type that differs from the base type by a more complex predicate, like a constraint check in SQL.