Generate a possibly-empty valid UTF-8 Text value.
Modulequickcheck-text-0.1.2.1Haskell2010
Test.QuickCheck.Utf8
- 13 values
- 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
5 declarationsA valid UTF-8 character, one to three bytes long.
Single-byte UTF-8 (i.e., a standard ASCII byte with a cleared MSB).