Skip to content

Instantly share code, notes, and snippets.

@santiycr
Created March 8, 2014 00:25
Show Gist options
  • Save santiycr/9423099 to your computer and use it in GitHub Desktop.
Save santiycr/9423099 to your computer and use it in GitHub Desktop.
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