#1169: Control.Monad.Cont documentation
-------------------------------+--------------------------------------------
Reporter: Andriy | Owner: Andriy
Type: proposal | Status: assigned
Priority: normal | Milestone: Not GHC
Component: libraries (other) | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Moderate (1 day)
Testcase: | Architecture: Multiple
Os: Multiple |
-------------------------------+--------------------------------------------
Comment (by simonmar):
The proposed `Cont.hs` doesn't compile:
{{{
../../compiler/ghc-inplace -H16m -O -Wall -fglasgow-exts -package-name
mtl-1.0 -O2 -fasm -dcore-lint -fgenerics -package base -fgenerics -split-
objs -c Control/Monad/Cont.hs -o Control/Monad/Cont.o -ohi
Control/Monad/Cont.hi
Control/Monad/Cont.hs:173:37:
Not in scope: type constructor or class `ReaderT'
Control/Monad/Cont.hs:174:12:
Not in scope: data constructor `ReaderT'
Control/Monad/Cont.hs:176:2: Not in scope: `runReaderT'
Control/Monad/Cont.hs:176:23:
Not in scope: data constructor `ReaderT'
Control/Monad/Cont.hs:178:37:
Not in scope: type constructor or class `StateT'
Control/Monad/Cont.hs:179:12:
Not in scope: data constructor `StateT'
Control/Monad/Cont.hs:181:2: Not in scope: `runStateT'
Control/Monad/Cont.hs:181:22:
Not in scope: data constructor `StateT'
Control/Monad/Cont.hs:183:10:
Not in scope: type constructor or class `Monoid'
Control/Monad/Cont.hs:183:47:
Not in scope: type constructor or class `WriterT'
Control/Monad/Cont.hs:184:12:
Not in scope: data constructor `WriterT'
Control/Monad/Cont.hs:186:2: Not in scope: `runWriterT'
Control/Monad/Cont.hs:186:23:
Not in scope: data constructor `WriterT'
Control/Monad/Cont.hs:186:39: Not in scope: `mempty'
Control/Monad/Cont.hs:188:10:
Not in scope: type constructor or class `Monoid'
Control/Monad/Cont.hs:191:46: Not in scope: `mempty'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1169>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs