learn-you-a-haskell-exercises icon indicating copy to clipboard operation
learn-you-a-haskell-exercises copied to clipboard

Shorten the solution of combineLists in ch11

Open Vincibean opened this issue 6 years ago • 0 comments

combineLists other Empty = other isn't needed: in case the second list is empty, it'll be pattern matched against combineLists (Value v rest) other and go on in this way until the first List is Empty.

Vincibean avatar May 10 '18 17:05 Vincibean