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 sio@tesser.org

Module documentation for

This version can be pinned in stack with:quickcheck-text-,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).