genvalidity-text-0.3.1.1: GenValidity support for Text

Safe HaskellNone
LanguageHaskell2010

Data.GenValidity.Text

Contents

Synopsis

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 :: [Char] -> 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.

Orphan instances