Last active
December 14, 2015 03:39
-
-
Save pankajmore/5022721 to your computer and use it in GitHub Desktop.
Error on ghc --make site.js on a default hakyll-init Using latest github cabal pkg
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
| site.hs:36:51: | |
| Couldn't match type `[Item String]' with `Item String' | |
| Expected type: [Item String] -> [Item String] | |
| Actual type: [Item String] -> [[Item String]] | |
| In the first argument of `postList', namely `recentFirst' | |
| In the expression: postList recentFirst | |
| In the second argument of `field', namely | |
| `(\ _ -> postList recentFirst)' | |
| site.hs:49:69: | |
| Couldn't match type `[Item String]' with `Item String' | |
| Expected type: [Item String] -> [Item String] | |
| Actual type: [Item String] -> [[Item String]] | |
| In the second argument of `(.)', namely `recentFirst' | |
| In the first argument of `postList', namely | |
| `(take 3 . recentFirst)' | |
| In the expression: postList (take 3 . recentFirst) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment