_______________________________________________I was trying to make a bridge like thisclass MonadStateTF m wheretype StateOf m :: *instance (MonadState s m) => MonadStateTF m wheretype StateOF m = sto allow writing constraints on state monads without a dangling type parametertype NumMonad m = (MonadStateTF m, Num (StateOf m))
Unfortunately, the declaration type StateOF m = s
complains that "s" isn't mentioned on the left hand side rather
than somehow making use of the fundep.
Brandon
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe