3 ms·
In a better world it would. Currently it the head of an empty list crashes the program. Many people in the Haskell world are really salty about this but they do
by rowanG077 6y ago
In a better world it would. Currently it the head of an empty list crashes the program. Many people in the Haskell world are really salty about this but they don't want to break the API for it.