| 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.
Orphan instances
| (TypeError (Text "The GenUnchecked Data.Text.Lazy.Text is disabled:" :$$: Text "Do not instantiate GenUnchecked, instantiate GenValid instead") :: Constraint) => GenUnchecked Text Source # | |
| (TypeError (Text "The GenUnchecked Data.Text.Text is disabled:" :$$: Text "Do not instantiate GenUnchecked, instantiate GenValid instead") :: Constraint) => GenUnchecked Text Source # | |
| GenValid Text Source # | |
| GenValid Text Source # | |