Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *Main> elementAt -1
- <interactive>:87:11:
- No instance for (Num ([a0] -> Int -> a0)) arising from a use of `-'
- Possible fix:
- add an instance declaration for (Num ([a0] -> Int -> a0))
- In the expression: elementAt - 1
- In an equation for `it': it = elementAt - 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement