Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building mtl-2.2.1... Building text-1.2.2.1... Installed mtl-2.2.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Configuring blaze-builder-0.4.0.2... Building parsec-3.1.11... Building blaze-builder-0.4.0.2... Installed blaze-builder-0.4.0.2 Configuring blaze-markup-0.7.1.1... Building blaze-markup-0.7.1.1... Installed parsec-3.1.11 Installed blaze-markup-0.7.1.1 Configuring blaze-html-0.8.1.3... Building blaze-html-0.8.1.3... Installed blaze-html-0.8.1.3 Downloading ghc-core-html-0.1.3... Configuring ghc-core-html-0.1.3... Building ghc-core-html-0.1.3... Failed to install ghc-core-html-0.1.3 Build log ( /home/builder/.cabal/logs/ghc-core-html-0.1.3.log ): cabal: Entering directory '/tmp/cabal-tmp-1835/ghc-core-html-0.1.3' Configuring ghc-core-html-0.1.3... Building ghc-core-html-0.1.3... Preprocessing executable 'ghc-core-html' for ghc-core-html-0.1.3... [1 of 3] Compiling Paths_ghc_core_html ( dist/build/autogen/Paths_ghc_core_html.hs, dist/build/ghc-core-html/ghc-core-html-tmp/Paths_ghc_core_html.o ) [2 of 3] Compiling GhcCore.Parser ( GhcCore/Parser.hs, dist/build/ghc-core-html/ghc-core-html-tmp/GhcCore/Parser.o ) GhcCore/Parser.hs:139:13: error: • Non type-variable argument in the constraint: Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseLevel :: forall (m :: * -> *) u s a. (Stream s m Char, Num a, Eq a) => a -> ParsecT s u m [Char] In an equation for ‘typeSignature’: typeSignature = parseLevel (0 :: Int) where parseLevel n | n == 0 = do { left <- many (noneOf "()="); .... } | otherwise = do { left <- many $ noneOf "()"; .... } In an equation for ‘tokenify’: tokenify = either (error . show) id . runCoreParser (manyTill tok eof) () "" where tok = choice [spaceTok, ....] "token" spaceTok = Spaces <$> many1 (oneOf " \n\ \\t") number = Number <$> many1 digit funDef = FunDef <$> try (string "\\" >> spaces >> manyTill (try funParamAt <|> funParam) (string "->")) .... cabal: Leaving directory '/tmp/cabal-tmp-1835/ghc-core-html-0.1.3' cabal: Error: some packages failed to install: ghc-core-html-0.1.3 failed during the building phase. The exception was: ExitFailure 1