aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/Documentation/Haddock/Parser/Monad.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-27 11:35:46 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-27 11:35:46 +0200
commitb0b23711fadb0ef2a7b0ade55286097bfa76e9ca (patch)
treeb8ae34b33ef8d8973f38719adef4f91ae5271d85 /haddock-library/src/Documentation/Haddock/Parser/Monad.hs
parent0cf9557ded38f4439b480cfa6290577ce7a9943d (diff)
parentba70ca2a921d7aa7af547a61ea7eba5a02381653 (diff)
Merge pull request #513 from treeowl/newtype-since
Make parser state a newtype
Diffstat (limited to 'haddock-library/src/Documentation/Haddock/Parser/Monad.hs')
-rw-r--r--haddock-library/src/Documentation/Haddock/Parser/Monad.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-library/src/Documentation/Haddock/Parser/Monad.hs b/haddock-library/src/Documentation/Haddock/Parser/Monad.hs
index a421c58c..3f7d60f8 100644
--- a/haddock-library/src/Documentation/Haddock/Parser/Monad.hs
+++ b/haddock-library/src/Documentation/Haddock/Parser/Monad.hs
@@ -42,7 +42,7 @@ import Data.Tuple
import Documentation.Haddock.Types (Version)
-data ParserState = ParserState {
+newtype ParserState = ParserState {
parserStateSince :: Maybe Version
} deriving (Eq, Show)