haskell append to list end code example Example: remove first element list haskell a = [1, 2, 3, 4] b = tail a -- b == [2, 3, 4]