-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Convert strings into hexadecimal and back.
--   
--   Convert strings into hexadecimal and back.
@package hex
@version 0.1.2


-- | Convert strings into hexadecimal and back.
module Data.Hex

-- | Convert strings into hexadecimal and back.
class Hex t

-- | Convert string into hexadecimal.
hex :: Hex t => t -> t

-- | Convert from hexadecimal and fail on invalid input.
unhex :: (Hex t, Monad m) => t -> m t
instance Data.Hex.Hex GHC.Base.String
instance Data.Hex.Hex Data.ByteString.Internal.ByteString
instance Data.Hex.Hex Data.ByteString.Lazy.Internal.ByteString
