2 ms·
> This can be a useful thing. You can write powerful and elegant algorithms that avoid error management because the bottom values never actually get used. Agre
by cies 6y ago
> This can be a useful thing. You can write powerful and elegant algorithms that avoid error management because the bottom values never actually get used.
Agreed. This would be with some escape hatch function, maybe even from Unsafe.
But having head in Prelude, without huge warning in the docs, without deprecation warnings, it just, well, not very Haskelly, I'd say.