Alternative arbitrary instance for Text https://github.com/olorin/quickcheck-text

Latest on Hackage:

See all snapshots quickcheck-text appears in

MIT licensed by Sharif Olorin
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:f5b82c3f0a82f6c517653932da67a7d431853c8814d896df72520e742d0e9ca2,1794


The usual Arbitrary instance for Text (in quickcheck-instances) only has single-byte instances and so isn’t an ideal representation of a valid UTF-8 character. This package has generators for one-, two- and three-byte UTF-8 characters (all that are currently in use).