Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
tel
6147 days ago |
link
|
parent
xs, ys, as, bs set off my Haskell alarm. They're pretty obvious and general, but something about pattern matching makes them unavoidable:
interleve [] _ = [] interleve _ [] = [] interleve (x:xs) (y:ys) = x:y:(interleve xs ys)