Your data type GridWidget doesn't have a parameter, yet you use it like it has one.

data GridWidget = forall widget. (WidgetClass widget) => GridWidget widget
                ^
                |
NB:-------------+

liftGW :: (GridWidget widget) -> (widget -> t) -> t
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to