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/Identifier | |
parent | 3c8f31040f6f1bdb905d8df181dc30bca1bafbb2 (diff) | |
download | hakyll-d3f15b18a537aac6364c27c6e726bcd11c869888.tar.gz |
Type-safe identifiers in haddocks
Diffstat (limited to 'src/Hakyll/Core/Identifier')
-rw-r--r-- | src/Hakyll/Core/Identifier/Pattern.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Identifier/Pattern.hs b/src/Hakyll/Core/Identifier/Pattern.hs index 6bbfad8..8263f29 100644 --- a/src/Hakyll/Core/Identifier/Pattern.hs +++ b/src/Hakyll/Core/Identifier/Pattern.hs @@ -31,6 +31,10 @@ -- The 'capture' function allows the user to get access to the elements captured -- by the capture elements in the pattern. -- +-- Like an 'Identifier', a 'Pattern' also has a type parameter. This is simply +-- an extra layer of safety, and can be discarded using the 'castPattern' +-- function. +-- module Hakyll.Core.Identifier.Pattern ( Pattern , castPattern |