Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 129 Bytes

05-pattern-syntax.md

File metadata and controls

7 lines (6 loc) · 129 Bytes

Fix errors in the code below:

inverse :: [(a,b)] -> [(b,a)]
inverse [] = []
inverse (x,y):xs = (y:x): inverse xs