HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulequickcheck-text-0.1.2.1Haskell2010

Test.QuickCheck.Utf8

  • 13 values
valueutf8BS :: Gen ByteString
#

Generate a possibly-empty sequence of bytes which represent a valid UTF-8 code point.

Generators for single characters

5 declarations
valuegenChar :: Gen Char
#

Generate a valid Char. Note that this is UTF-16, not UTF-8, but the intent is the same: the Arbitrary instance for Char in quickcheck makes no attempt to generate valid non-ASCII characters at this time.