Guest User

Untitled

a guest
Dec 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. iguais :: Eq a => [a] -> Bool
  2. iguais (x:y:tail) = x == y && iguais tail -- chamada recursiva nesta linha
  3. iguais [_] = True
  4. iguais _ = True
Add Comment
Please, Sign In to add comment