[Haskell-cafe] Why is "Cont" out of scope?

Daryoush Mehrtash dmehrtash at gmail.com
Wed Apr 3 02:37:29 CEST 2013


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130402/5c88fbd3/attachment.htm>


More information about the Haskell-Cafe mailing list