classy-prelude-0.7.0: A typeclass-based Prelude.

Safe HaskellNone

Data.Textual.Encoding

Documentation

class (Textual t, IsSequence b) => Utf8 t b | t -> b, b -> t whereSource

Methods

encodeUtf8 :: t -> bSource

decodeUtf8 :: b -> tSource

Instances

Utf8 Text ByteString 
Utf8 Text ByteString 
(~ * c Char, ~ * w Word8) => Utf8 [c] [w]