Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeList/Head.hs
module Prelude where head :: [a] -> a head (x:_) = x head [] = error "PreludeList.head: empty list"