list haskell code example Example: get tail of list haskell Click to copylist = [1, 2, 3, 4] tail :: [a] -> [a] tail [] = [] tail (_:xs) = xs