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
:1:1:
Not in scope: data constructor `Cont'
Perhaps you meant `ContT' (imported from Control.Monad.Cont)
Prelude Control.Monad.Cont> :t runCo
On Tue, Apr 2, 2013 at 8:37 PM, Daryoush Mehrtash wrote:
> 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
>
>
It's gone; try "cont" (lowercase).
mtl2 replaced the old standalone monads wit