staafl

Untitled

Oct 30th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. unbound :: a -> b
  2. unbound _ = 1
  3.  
  4. [1 of 1] Compiling Main ( D:\_workbench\lyah\typefu.hs, interpreted )
  5.  
  6. D:\_workbench\lyah\typefu.hs:2:13:
  7. No instance for (Num b)
  8. arising from the literal `1'
  9. In the expression: 1
  10. In an equation for `unbound': unbound _ = 1
  11. Failed, modules loaded: none.
Advertisement
Add Comment
Please, Sign In to add comment