[Haskell-cafe] Problem on existential type.

Miguel Mitrofanov miguelimo38 at yandex.ru
Fri Sep 4 02:13:12 EDT 2009


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


More information about the Haskell-Cafe mailing list