by antipurist · 3y ago · 0 comments
Nothing, unless you have unit tests. Or use Liquid Haskell:
https://ucsd-progsys.github.io/liquidhaskell/
There are languages that let you express stronger guarantees/requirements via type system, but it’s better not to go down the rabbit hole of dependent typing.
No comments yet.