Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. merge a@(x:xs) b@(y:ys) | x < y = x : merge xs b
  2. | otherwise = y : merge a ys
  3. merge [] b = b
  4. merge a [] = a
Add Comment
Please, Sign In to add comment