hex-0.2.0: Convert strings into hexadecimal and back.
Copyright(c) Taru Karttunen 2009
LicenseBSD-style
Maintainertaruti@taruti.net
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Hex

Description

Convert strings into hexadecimal and back.

Synopsis

Documentation

class Hex t where Source #

Convert strings into hexadecimal and back.

Minimal complete definition

hex, unhex

Methods

hex :: t -> t Source #

Convert string into hexadecimal.

unhex :: t -> Either String t Source #

Convert from hexadecimal and fail on invalid input.

unhexM :: MonadFail m => t -> m t Source #

Convert from hexadecimal and fail on invalud input.