Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. 01.hs:45:15: error:
  2. • Could not deduce (List l1) arising from a use of ‘nil’
  3. from the context: List l
  4. bound by the instance declaration at 01.hs:44:10-30
  5. Possible fix:
  6. add (List l1) to the context of
  7. an expression type signature:
  8. l1 a1
  9. • In the second argument of ‘SL’, namely ‘(nil :: l a)’
  10. In the expression: SL 0 (nil :: l a)
  11. In an equation for ‘nil’: nil = SL 0 (nil :: l a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement