ideas-1.6: Feedback services for intelligent tutoring systems

Maintainerbastiaan.heeren@ou.nl
Stabilityprovisional
Portabilityportable (depends on ghc)
Safe HaskellSafe
LanguageHaskell98

Ideas.Text.UTF8

Description

Support for the UTF8 encoding

Synopsis

Documentation

encode :: String -> String Source #

Encode a string to UTF8 format

encodeM :: Monad m => String -> m String Source #

Encode a string to UTF8 format (monadic)

decode :: String -> String Source #

Decode an UTF8 format string to unicode points

decodeM :: Monad m => String -> m String Source #

Decode an UTF8 format string to unicode points (monadic)

isUTF8 :: String -> Bool Source #

Test whether the argument is a proper UTF8 string

allBytes :: String -> Bool Source #

Test whether all characters are in the range 0-255

propEncoding :: Property Source #

QuickCheck internal encoding/decoding functions