Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Following the convention from Data.Text.Lazy, this module is intended to be
imported qualified
. For example:
import qualified Test.SmallCheck.Series.Text.Lazy as L.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