diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-28 22:33:48 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-28 22:33:48 +0200 |
commit | d3f15b18a537aac6364c27c6e726bcd11c869888 (patch) | |
tree | b972ad313a573008af10119164c74cd62e406d25 /src/Hakyll/Core/Compiler.hs | |
parent | 3c8f31040f6f1bdb905d8df181dc30bca1bafbb2 (diff) | |
download | hakyll-d3f15b18a537aac6364c27c6e726bcd11c869888.tar.gz |
Type-safe identifiers in haddocks
Diffstat (limited to 'src/Hakyll/Core/Compiler.hs')
-rw-r--r-- | src/Hakyll/Core/Compiler.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs index 2eb219c..909f945 100644 --- a/src/Hakyll/Core/Compiler.hs +++ b/src/Hakyll/Core/Compiler.hs @@ -53,7 +53,7 @@ -- This illustration can help us understand the type signature of 'require'. -- -- > require :: (Binary a, Typeable a, Writable a) --- > => Identifier +-- > => Identifier a -- > -> (b -> a -> c) -- > -> Compiler b c -- @@ -64,7 +64,7 @@ -- These are constraints for the @a@ type. @a@ (the template) needs to have -- certain properties for it to be required. -- --- > Identifier +-- > Identifier a -- -- This is simply @templates/fancy.html@: the 'Identifier' of the item we want -- to 'require', in other words, the name of the item we want to add to the |