-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Encoding and decoding for the Bottom spec. -- -- Encoding and decoding for the Bottom spec. @package bottom @version 0.1.0.0 -- | Encodes and decodes Texts to Bottoms. For details, see -- the Bottom spec. module Data.Encoding.Bottom -- | A Bottom is a wrapper around well-formed, Bottom-encoded -- ByteString. Its instances are derived from those of -- ByteString. data Bottom -- | unBottom unwraps the underlying ByteString. unBottom :: Bottom -> ByteString -- | encode takes a Text, and encodes it into a -- Bottom. To get at the underlying ByteString, unwrap the -- returned value with unBottom. encode :: Text -> Bottom -- | decode decodes a Bottom into its corresponding Unicode -- Text. decode :: Bottom -> Text -- | decode' decodes an arbitrary Bottom-encoded ByteString -- into a Text, or returns a parse error if the ByteString -- is malformed. decode' :: ByteString -> Either Text Text instance Control.DeepSeq.NFData Data.Encoding.Bottom.Bottom instance GHC.Base.Monoid Data.Encoding.Bottom.Bottom instance GHC.Base.Semigroup Data.Encoding.Bottom.Bottom instance GHC.Classes.Ord Data.Encoding.Bottom.Bottom instance GHC.Classes.Eq Data.Encoding.Bottom.Bottom instance GHC.Show.Show Data.Encoding.Bottom.Bottom