Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Haskell you can also explicitly cast to any type a using "error", "undefined" and "throw". But that's just what exceptions are in Haskell. This is fine, as long as it's only used in exceptional cases.


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

Search: