| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.GenValidity.Text
Contents
Documentation
textStartingWith :: Char -> Gen Text Source #
'textStartingWith c' generates a Text value that starts with c.
textWith :: Gen Text -> Gen Text Source #
'textStartingWith g' generates a Text value that contains a substring generated by g.
textWithA :: Char -> Gen Text Source #
'textStartingWith c' generates a Text value that contains a c.
textWithoutAny :: Char -> Gen Text Source #
'textWithoutAny c' generates a Text value that does not contain any c.
textWithoutAnyOf :: String -> Gen Text Source #
'textWithoutAnyOf c' generates a Text value that does not contain any character in ls.
textAllCaps :: Gen Text Source #
textAllCaps generates a Text value with only upper-case characters.
genSingleLineText :: Gen Text Source #
genSingleLineText generates a single-line text, that is without any line separators.
See genNonLineSeparator and isLineSeparator