I am trying to use the Cont in Control.Monad.Cont but it seems to be
missing
Prelude> import Control.Monad.Cont
Prelude Control.Monad.Cont> :t Cont
<interactive>:1:1:
Not in scope: data constructor `Cont'
Perhaps you meant `ContT' (imported from Control.Monad.Cont)
Prelude Control.Monad.Cont> :t runCont
runCont :: Cont r a -> (a -> r) -> r
Prelude Control.Monad.Cont> :t ContT
ContT :: ((a -> m r) -> m r) -> ContT r m a
Prelude Control.Monad.Cont>
Any ideas?
Thanks
--
Daryoush
Weblog: http://onfp.blogspot.com/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe