Y
Hacker News
new
|
ask
|
show
|
jobs
by
runeks
3271 days ago
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.