Hacker News new | ask | show | jobs
by naradaellis 5827 days ago
If I understand you correctly, such a possibility can never arise in Haskell's type system. A possible function would be (a -> Maybe b) -> a -> b, and this won't accept anything that returns an Either.