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