Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Following the convention from Data.Text, this module is intended to be
imported qualified
. For example:
import qualified Test.SmallCheck.Series.Text as T.Series
Synopsis
- replicateA :: Series m Text
- replicateNull :: Series m Text
- replicateChar :: Char -> Series m Text
- enumAlphabet :: Series m Text
- enumChars :: Series m Text
- enumString :: String -> Series m Text
- jack :: Series m Text
- enumNonBmp :: Series m Text
Replication
replicateA :: Series m Text Source #
replicateNull :: Series m Text Source #
Enumeration
enumAlphabet :: Series m Text Source #
Printing
Extra Unicode planes
enumNonBmp :: Series m Text Source #
A Text
Series
that grows with the first character of each
Unicode plane.
>>>
list 3 enumNonBmp
["","\NUL","\NUL\65536","\NUL\65536\131072"]
Notice that this covers the 16 unicode planes.
>>>
last (list 16 enumNonBmp) == last (list 17 enumNonBmp)
True