Generate a possibly-empty valid UTF-8 Text value.
Modulequickcheck-text-0.1.2.1Haskell2010
Test.QuickCheck.Utf8
Contents
Synopsis
- value genValidUtf8
- value shrinkValidUtf8
- value utf8BS
- value shrinkUtf8BS
- value genValidUtf81
- value shrinkValidUtf81
- value utf8BS1
- value shrinkUtf8BS1
- value genChar
- value genUtf8Character
- value oneByte
- value twoByte
- value threeByte
- Packagequickcheck-text-0.1.2.1
- Exports13
- LanguageHaskell2010
- LicenceMIT
- SourceUtf8.hs
Shrink a possible-empty valid UTF-8 Text value.
Generate a possibly-empty sequence of bytes which represent a valid UTF-8 code point.
Shrink a possible-empty sequence of bytes which represent a valid UTF-8 code point.
Like genValidUtf8, but does not allow empty Text values.
List genValidUtf8, bute does not allow empty Text values.
Like utf8BS, but does not allow empty ByteStrings.
Like shrinkUtf8BS, but does not allow empty ByteStrings.
Generators for single characters
A valid UTF-8 character, one to three bytes long.
Single-byte UTF-8 (i.e., a standard ASCII byte with a cleared MSB).