(++) :: [a] -> [a] -> [a] (++) [] ys = ys (++) (x:xs) ys = x : (xs ++ ys)
Assignment1
As of March 2020, School of Haskell has been switched to read-only mode.
As of March 2020, School of Haskell has been switched to read-only mode.
(++) :: [a] -> [a] -> [a] (++) [] ys = ys (++) (x:xs) ys = x : (xs ++ ys)