Advertisement
flyingfisch

Untitled

Sep 23rd, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. *Main> elementAt -1
  2.  
  3. <interactive>:87:11:
  4. No instance for (Num ([a0] -> Int -> a0)) arising from a use of `-'
  5. Possible fix:
  6. add an instance declaration for (Num ([a0] -> Int -> a0))
  7. In the expression: elementAt - 1
  8. In an equation for `it': it = elementAt - 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement