3 ms·
`head` throws a runtime error when used on an empty list, where it should really return a value wrapped in `Maybe` instead. This is some accident of history afa
by jim-jim-jim 5y ago
`head` throws a runtime error when used on an empty list, where it should really return a value wrapped in `Maybe` instead. This is some accident of history afaik.