Advertisement
Guest User

Untitled

a guest
Dec 27th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Couldn't match type `Window' with `Button'
  2. Expected type: IO Button
  3. Actual type: IO Window
  4. In the return type of a call of `bind'
  5. In the second argument of `(<*>)', namely `bind castToButton "b"'
  6. In a stmt of a 'do' block:
  7. MyDialog <$> bind castToWindow "w" <*> bind castToButton "b"
  8.  
  9. Couldn't match type `Button' with `Window'
  10. Expected type: GObject -> Window
  11. Actual type: GObject -> Button
  12. In the first argument of `bind', namely `castToButton'
  13. In the second argument of `(<*>)', namely `bind castToButton "b"'
  14. In a stmt of a 'do' block:
  15. MyDialog <$> bind castToWindow "w" <*> bind castToButton "b"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement