summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Identifier
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-28 22:33:48 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-28 22:33:48 +0200
commitd3f15b18a537aac6364c27c6e726bcd11c869888 (patch)
treeb972ad313a573008af10119164c74cd62e406d25 /src/Hakyll/Core/Identifier
parent3c8f31040f6f1bdb905d8df181dc30bca1bafbb2 (diff)
downloadhakyll-d3f15b18a537aac6364c27c6e726bcd11c869888.tar.gz
Type-safe identifiers in haddocks
Diffstat (limited to 'src/Hakyll/Core/Identifier')
-rw-r--r--src/Hakyll/Core/Identifier/Pattern.hs4
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