cln: hlint: Fix newtype warning.

This commit is contained in:
Stephen Morgan 2021-08-16 16:51:31 +10:00 committed by Simon Michael
parent 1e69fd81ea
commit e666bbcaf0
2 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@
- ignore: {name: "Use replicate"}
- ignore: {name: "Use void"}
- ignore: {name: "Use bimap"}
- ignore: {name: "Use newtype instead of data"}
- ignore: {name: "Use elemIndex"}
- ignore: {name: "Use =="}
- ignore: {name: "Use lambda-case"}

View File

@ -32,7 +32,7 @@ infixl 4 <$!>
(<$!>) :: TokenParsing m => (a -> b) -> m a -> m b
f <$!> ma = ($!) <$> pure f <*> ma
data RawJournal = RawJournal [RawEntity]
newtype RawJournal = RawJournal [RawEntity]
deriving (Show, Eq)
data RawEntity = Whitespace String