Created
June 6, 2016 20:19
-
-
Save ivanoats/b5f1d24ae8b83dbfdfce972278266105 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cabal: Entering directory '/var/folders/85/c3khd5g15nq5yy8_1m0s40y00000gn/T/cabal-tmp-26301/herbalizer-0.4.9' | |
Configuring herbalizer-0.4.9... | |
Building herbalizer-0.4.9... | |
Preprocessing executable 'herbalizer' for herbalizer-0.4.9... | |
[1 of 1] Compiling Main ( src/Main.hs, dist/build/herbalizer/herbalizer-tmp/Main.o ) | |
src/Main.hs:152:5: error: | |
• Non type-variable argument in the constraint: Stream s m Char | |
(Use FlexibleContexts to permit this) | |
• When checking the inferred type | |
betweenStuff :: forall s (m :: * -> *) u. | |
Stream s m Char => | |
Char -> Char -> ParsecT s u m [Char] | |
In an equation for ‘rubyValue’: | |
rubyValue | |
= do { xs <- many (noneOf "},([ \t") <* spaces; | |
rest <- ((lookAhead (oneOf ",}") >> return "")) | |
<|> (betweenStuff '(' ')') <|> (betweenStuff '[' ']'); | |
return $ "<%= " ++ xs ++ rest ++ " %>" } | |
where | |
betweenStuff x y | |
= do { xs' <- between (char x) (char y) (many $ noneOf ...); | |
.... } | |
src/Main.hs:187:1: error: | |
• Non type-variable argument | |
in the constraint: Stream s (State SourcePos) z | |
(Use FlexibleContexts to permit this) | |
• When checking the inferred type | |
filterBlock :: forall s u a z. | |
Stream s (State SourcePos) z => | |
ParsecT s u (State SourcePos) a -> IndentParser s u [a] | |
cabal: Leaving directory '/var/folders/85/c3khd5g15nq5yy8_1m0s40y00000gn/T/cabal-tmp-26301/herbalizer-0.4.9' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with stack, too: