Guest User

Untitled

a guest
May 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Couldn't match expected type `Int'
  2. against inferred type `[a] -> [a]'
  3. In the expression: max $ filter isPalindrome $ nub numbers
  4. In the definition of `problem4':
  5. problem4 = max $ filter isPalindrome $ nub numbers
  6. where
  7. numbers = let ... in [x * y | x <- numList, y <- numList]
Add Comment
Please, Sign In to add comment