Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Example = (Text, TestPredicate) Source #
type TestPredicate = Context -> ResolvedToken -> Bool Source #
examplesCustom :: TestPredicate -> [Text] -> [Example] Source #
parserCheck :: Eq a => a -> (Value -> Maybe a) -> TestPredicate Source #
simpleCheck :: ToJSON a => a -> TestPredicate Source #