|
|
|
|
|
by brandonbloom
4640 days ago
|
|
I'll save the value judgement for another time, but I'd like to point out an important difference: As the word "unsafe" implies, these Haskell primitives forego type safety in addition to type correctness. That means you can get segfaults and other undefined behavior at runtime. Such a type error on the JVM will simply produce an exception at runtime. |
|
It almost never comes up because it turns out to be virtually useless, but that's a story for another time.