mirror of
https://github.com/typeable/bloodhound.git
synced 2024-11-26 11:03:10 +03:00
warnings, old-locale
This commit is contained in:
parent
c518b8ed7f
commit
5c24e8c410
@ -1,4 +1,6 @@
|
||||
flags: {}
|
||||
flags:
|
||||
aeson:
|
||||
old-locale: true
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps:
|
||||
|
@ -257,8 +257,10 @@ searchExpectSource src expected = do
|
||||
value `shouldBe` expected
|
||||
|
||||
data BulkTest = BulkTest { name :: Text } deriving (Eq, Generic, Show)
|
||||
instance FromJSON BulkTest
|
||||
instance ToJSON BulkTest
|
||||
instance FromJSON BulkTest where
|
||||
parseJSON = genericParseJSON defaultOptions
|
||||
instance ToJSON BulkTest where
|
||||
toJSON = genericToJSON defaultOptions
|
||||
|
||||
noDuplicates :: Eq a => [a] -> Bool
|
||||
noDuplicates xs = nub xs == xs
|
||||
|
Loading…
Reference in New Issue
Block a user