:: (a -> a) -> [a] -> [a] package:BNFC

Apply a function to the head of a list.