HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.