No head exception on empty lists
Hackage revision