Hacker News new | past | comments | ask | show | jobs | submit login

> the error will not necessarily surface at the call site

One of the positive side effects of this fact is that Haskellers have been forced to figure out proper error handling strategies, for the exact same reason Haskellers were forced to figure out proper effect management strategies (e.g. monadic IO). In fact, errors and effects are part of the same problem.

In imperative languages, the temptation to use evaluation sequencing as a hack for handling errors and effects has proven too tempting for every pre-Haskell language I'm aware of.




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

Search: