diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-04-29 09:38:55 +0100 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-04-29 09:38:55 +0100 |
commit | e13c1f2af988aca231301df3f093b130a87731c5 (patch) | |
tree | e3c519ca443e0ce25475b976e1fba554e5e1d1ee /web/tutorials | |
parent | 216e2f4d07a29518ce19568911bce5ca92ddd4ab (diff) | |
download | hakyll-e13c1f2af988aca231301df3f093b130a87731c5.tar.gz |
src/Hakyll/Web/Paginate.hs: Fix build failure
The code tried to generate Show instance for a function.
I don't know where it used to come from but it's not there
anymore. Build fails as:
[48 of 49] Compiling Hakyll.Web.Paginate ( src/Hakyll/Web/Paginate.hs, dist/build/Hakyll/Web/Paginate.o )
src/Hakyll/Web/Paginate.hs:40:17:
No instance for (Show (PageNumber -> Identifier))
(maybe you haven't applied enough arguments to a function?)
arising from the second field of ‘Paginate’
(type ‘PageNumber -> Identifier’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (Show Paginate)
Change drops Show instance as it's not very useful.
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'web/tutorials')
0 files changed, 0 insertions, 0 deletions