From 1bbda54a9cf1c8db93c5ef226c2a94ed38a842ff Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Wed, 18 Jun 2014 13:50:34 +0800 Subject: Use doctest to check examples in documentation --- haddock-library/src/Documentation/Haddock/Parser.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'haddock-library/src/Documentation') 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) -- cgit v1.2.3