Commit 9dcc6e10 authored by Björn Peemöller 's avatar Björn Peemöller
Browse files

Two test cases added

parent 8d314f28
f = \ x y -> x : y
\ No newline at end of file
--- Transforms a list of pairs into a pair of lists.
unzip :: [(a,b)] -> ([a],[b])
unzip [] = ([],[])
unzip ((x,y):ps) = (x:xs,y:ys) where (xs,ys) = unzip ps
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment