diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-05-27 11:35:46 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-27 11:35:46 +0200 |
commit | b0b23711fadb0ef2a7b0ade55286097bfa76e9ca (patch) | |
tree | b8ae34b33ef8d8973f38719adef4f91ae5271d85 /haddock-library/src/Documentation/Haddock/Parser/Monad.hs | |
parent | 0cf9557ded38f4439b480cfa6290577ce7a9943d (diff) | |
parent | ba70ca2a921d7aa7af547a61ea7eba5a02381653 (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.hs | 2 |
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) |