test/ParserSpec.hs:336:7:
Non type-variable argument
in the constraint: Data.String.IsString [a]
(Use FlexibleContexts to permit this)
When checking that ‘isJson’ has the inferred type
isJson :: forall a. (Eq a, Data.String.IsString [a]) => [a] -> Bool
In an equation for ‘readBenchFiles’:
readBenchFiles dirname
= getDirectoryContents dirname >>= return . (filter isJson)
>>= mapM readFile'
where
readFile' fname = BS.readFile (dirname ++ "/" ++ fname)
isJson fname = take 5 (reverse fname) == "nosj."
Citing from http://hydra.cryp.to/build/1139733/log/raw: