aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/Documentation/Haddock/Parser.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2014-06-18 13:50:34 +0800
committerSimon Hengel <sol@typeful.net>2014-06-18 13:52:23 +0800
commit1bbda54a9cf1c8db93c5ef226c2a94ed38a842ff (patch)
tree988385d1ac83b5b8ac0b536ad6fe8676b41c3997 /haddock-library/src/Documentation/Haddock/Parser.hs
parent89448ef6c7ef3367f210562306cfa95c95d77250 (diff)
Use doctest to check examples in documentation
Diffstat (limited to 'haddock-library/src/Documentation/Haddock/Parser.hs')
-rw-r--r--haddock-library/src/Documentation/Haddock/Parser.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs
index b7178842..c84217b7 100644
--- a/haddock-library/src/Documentation/Haddock/Parser.hs
+++ b/haddock-library/src/Documentation/Haddock/Parser.hs
@@ -38,6 +38,9 @@ import Documentation.Haddock.Types
import Documentation.Haddock.Utf8
import Prelude hiding (takeWhile)
+-- $setup
+-- >>> :set -XOverloadedStrings
+
-- | Identifier string surrounded with opening and closing quotes/backticks.
type Identifier = (Char, String, Char)