-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A Base91 Encoder & Decoder
--
@package base91
@version 1.1.0
module Codec.Binary.Base91.Control
class Monoid a => Applicative' a where type family Item a :: *
pure' :: Applicative' a => Item a -> a
class Foldable' f where type family Element f :: *
fold' :: Foldable' f => (x -> Element f -> x) -> x -> f -> x
instance Foldable f => Foldable' (f e)
instance (Applicative a, Monoid (a i)) => Applicative' (a i)
module Codec.Binary.Base91
-- | The list of valid characters within a Base91-encoded string.
alphabet :: [Char]
-- | Generically decodes a Word8 sequence from a Char
-- sequence in Base91 form.
decode :: (Foldable' i, Element i ~ Char, Applicative' o, Item o ~ Word8) => i -> o
-- | Generically encodes a Word8 sequence to a Char sequence
-- in Base91 form.
encode :: (Foldable' i, Element i ~ Word8, Applicative' o, Item o ~ Char) => i -> o
module Codec.Binary.Base91.String
-- | Decodes [Word8] from a String in Base91; the opposite of
-- encode.
decode :: String -> [Word8]
-- | Encodes [Word8] to a String in Base91; the opposite of
-- decode.
encode :: [Word8] -> String
module Codec.Binary.Base91.ByteString
-- | Decodes a ByteString from [Char] in Base91; the opposite
-- of encode.
decode :: [Char] -> ByteString
-- | Encodes a ByteString to [Char] in Base91; the opposite
-- of decode.
encode :: ByteString -> [Char]
instance Foldable' ByteString
instance Applicative' ByteString
module Codec.Binary.Base91.ByteString.Lazy
-- | Decodes a (lazy) ByteString from [Char] in Base91; the
-- opposite of encode.
decode :: [Char] -> ByteString
-- | Encodes a (lazy) ByteString to [Char] in Base91; the
-- opposite of decode.
encode :: ByteString -> [Char]
instance Foldable' ByteString
instance Applicative' ByteString
module Codec.Binary.Base91.Text
-- | Decodes [Word8] from Text in Base91; the opposite of
-- encode.
decode :: Text -> [Word8]
-- | Encodes [Word8] to Text in Base91; the opposite of
-- decode.
encode :: [Word8] -> Text
instance Foldable' Text
instance Applicative' Text
module Codec.Binary.Base91.Text.Lazy
-- | Decodes [Word8] from (lazy) Text in Base91; the opposite
-- of encode.
decode :: Text -> [Word8]
-- | Encodes [Word8] to (lazy) Text in Base91; the opposite
-- of decode.
encode :: [Word8] -> Text
instance Foldable' Text
instance Applicative' Text
module Codec.Binary.Base91.Efficient
-- | Decodes ByteString from Text in Base91; the opposite of
-- encode.
decode :: Text -> ByteString
-- | Encodes ByteString to Text in Base91; the opposite of
-- decode.
encode :: ByteString -> Text
module Codec.Binary.Base91.Efficient.Lazy
-- | Decodes ByteString from Text in Base91; the opposite of
-- encode.
decode :: Text -> ByteString
-- | Encodes ByteString to Text in Base91; the opposite of
-- decode.
encode :: ByteString -> Text