Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't match type ‘model’ with ‘Maybe model0’ on GHC 8.4.3 and gtk-0.14.10 #8

Closed
johannes-riecken opened this issue Jul 9, 2018 · 1 comment

Comments

@johannes-riecken
Copy link

If I run cabal install keera-hails-reactive-gtk-0.3 with ghc 8.4.3, installation of that package fails with

src/Graphics/UI/Gtk/Reactive/Gtk2.hs:8067:30: error:
• Couldn't match type ‘model’ with ‘Maybe model0’
‘model’ is a rigid type variable bound by
the type signature for:
treeViewSetModelReactive :: forall self model.
(TreeViewClass self, TreeModelClass model) =>
self -> ReactiveFieldWrite IO model
at src/Graphics/UI/Gtk/Reactive/Gtk2.hs:8066:1-113
Expected type: ReactiveFieldWrite IO model
Actual type: ReactiveFieldWrite IO (Maybe model0)
• In the expression: wrapMW (treeViewSetModel w)
In an equation for ‘treeViewSetModelReactive’:
treeViewSetModelReactive w = wrapMW (treeViewSetModel w)
• Relevant bindings include
treeViewSetModelReactive :: self -> ReactiveFieldWrite IO model
(bound at src/Graphics/UI/Gtk/Reactive/Gtk2.hs:8067:1)
|
8067 | treeViewSetModelReactive w = wrapMW (treeViewSetModel w)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

@johannes-riecken johannes-riecken changed the title Couldn't match type ‘model’ with ‘Maybe model0’ on GHC 8.4.3 Couldn't match type ‘model’ with ‘Maybe model0’ on GHC 8.4.3 and gtk-0.14.10 Jul 9, 2018
@nbrk
Copy link

nbrk commented Jan 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants