Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Completely agree with these.

One way to achieve "Make illegal states unrepresentable" is by using "refined" types, a.k.a. highly constrained types. There is a "refined" library in both Haskell and Scala and the "iron" library for Scala 3.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: