File: README.markdown

package info (click to toggle)
haskell-quickcheck-unicode 1.0.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 64 kB
  • sloc: haskell: 100; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This Haskell package provides a
[QuickCheck](http://hackage.haskell.org/package/QuickCheck) data
generator and shrink functions for testing software that uses Unicode
data.

The default
[`Arbitrary`](http://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck.html#t:Arbitrary)
instance for the `Char` type *intentionally* generates *only* ASCII
values.  This can lead to a false sense of security in cases where
Unicode compliance is required, as encodings that span multiple bytes
or code units will simply not be exercised at all.

This module deliberately avoids using the `text` and `bytestring`
packages to avoid pulling in extra dependencies.