RosettaCodeData/Task/Array-concatenation/Haskell/array-concatenation-2.hs

3 lines
38 B
Haskell
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
[] ++ x = x
(h:t) ++ y = h : (t ++ y)