1 2 3 4 5 6 7
module Util (safeHead) where -- |Safe head function safeHead [] = Nothing safeHead (x:_) = Just x