Re:OCamlers' critiques of Haskell
by evincarofautumn on Thursday August 27, 2015 @06:57PM
(#10132675)
These aren’t quite the same. With “x && x->y”, you’re using a boolean to encode the assumption that “x” is valid, but with “x >>= getY”, the type system has a proof, which makes refactoring safer.
[ Parent
| on HN ]
There are no comments on this comment yet.