HORIZON HASKELLDocslts/ghc-10.0.x4d334ea2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 4d334ea · 2026-10-12

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.