-
-
Save santiycr/9423099 to your computer and use it in GitHub Desktop.
This file contains 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
sso ~/vim-croket ❯❯❯ make lexer [16:24:36] | |
ghc --make lexer.hs | |
[1 of 1] Compiling Main ( lexer.hs, lexer.o ) | |
lexer.hs:34:27: | |
Couldn't match expected type `[[a0]]' | |
with actual type `[[Char]] -> [[[Char]]]' | |
In the return type of a call of `map' | |
Probable cause: `map' is applied to too few arguments | |
In the second argument of `($)', namely | |
`map (\ el -> split mode el)' | |
In the expression: concat $ map (\ el -> split mode el) | |
make: *** [lexer] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment