HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

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.