git.iko.soy/typeable/bloodhound
on master help sign in
warnings, old-locale
5c24e8cChris Allen
stack-7.8.yaml+3−1
@@ -1,4 +1,6 @@
1−flags: {}
1+flags:
2+ aeson:
3+ old-locale: true
2packages:
4packages:
3- '.'
5- '.'
4extra-deps:
6extra-deps:
tests/tests.hs+4−2
@@ -257,8 +257,10 @@ searchExpectSource src expected = do
257 value `shouldBe` expected
257 value `shouldBe` expected
258
258
259data BulkTest = BulkTest { name :: Text } deriving (Eq, Generic, Show)
259data BulkTest = BulkTest { name :: Text } deriving (Eq, Generic, Show)
260−instance FromJSON BulkTest
260+instance FromJSON BulkTest where
261+ parseJSON = genericParseJSON defaultOptions
261−instance ToJSON BulkTest
262+instance ToJSON BulkTest where
263+ toJSON = genericToJSON defaultOptions
262
264
263noDuplicates :: Eq a => [a] -> Bool
265noDuplicates :: Eq a => [a] -> Bool
264noDuplicates xs = nub xs == xs
266noDuplicates xs = nub xs == xs