News for hackers. Stuff that matters.
Re:An Introduction to Type Level Programming in Haskell by mixedCase on Friday September 10, 2021 @09:46AM (#28481487)
> let's say that some integer must be between 10 and 100, do you use type checks for this?

Yes. I explicitly mentioned dependent types for this reason.

This is also expressable in a more limited fashion in a language like TypeScript, although some may argue it also employs a form of dependent typing.

There are no comments on this comment yet.