-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Please see the README @package basen @version 0.1.0.0 module Data.BaseN.Internal class ByteStringLike b cons :: ByteStringLike b => Word8 -> b -> b empty :: ByteStringLike b => b null :: ByteStringLike b => b -> Bool uncons :: ByteStringLike b => b -> Maybe (Word8, b) (!!) :: (ByteStringLike b, Integral i) => b -> i -> Maybe Word8 class IsString s => StringLike s concat :: StringLike s => [s] -> s drop :: StringLike s => Int -> s -> s length :: StringLike s => s -> Int take :: StringLike s => Int -> s -> s toString :: StringLike s => s -> String -- | Bounded between 0 and a given i. [0, i) boundedBy :: (Integral idx, Integral len) => idx -> len -> Bool inChunksOf :: StringLike s => s -> Int -> [s] () :: Maybe b -> a -> Either a b infixl 4 instance Data.BaseN.Internal.StringLike GHC.Base.String instance Data.BaseN.Internal.StringLike Data.Text.Internal.Text instance Data.BaseN.Internal.ByteStringLike [GHC.Word.Word8] instance Data.BaseN.Internal.ByteStringLike Data.ByteString.Internal.ByteString instance Data.BaseN.Internal.ByteStringLike Data.ByteString.Lazy.Internal.ByteString module Data.BaseN data Base Base2 :: Base data DecodeError UnkownAlphabet :: DecodeError WrongLength :: Int -> DecodeError encodeBaseN :: (ByteStringLike b, StringLike s) => b -> Base -> s decodeBaseN :: (StringLike s, ByteStringLike b) => s -> Base -> Either DecodeError b encodeBase2 :: (ByteStringLike b, StringLike s) => b -> s decodeBase2 :: (StringLike s, ByteStringLike b) => s -> Either DecodeError b instance GHC.Show.Show Data.BaseN.DecodeError instance GHC.Classes.Eq Data.BaseN.DecodeError instance GHC.Show.Show Data.BaseN.Base instance GHC.Classes.Eq Data.BaseN.Base