multibase 0.1.0.0 → 0.1.1
raw patch · 2 files changed
+4/−1 lines, 2 filesnew-uploader
Files
- multibase.cabal +1/−1
- src/Data/ByteString/Multibase.hs +3/−0
multibase.cabal view
@@ -2,7 +2,7 @@ build-type: Custom name: multibase-version: 0.1.0.0+version: 0.1.1 synopsis: Self-identifying base encodings, implementation of <https://github.com/multiformats/multihash> homepage: https://github.com/oscoin/ipfs bug-reports: https://github.com/oscoin/ipfs/issues
src/Data/ByteString/Multibase.hs view
@@ -16,6 +16,8 @@ module Data.ByteString.Multibase ( -- * Supported bases BaseN.Base(..)+ , ToCode+ -- * Multibase encoding and decoding , Multibase , fromMultibase@@ -54,6 +56,7 @@ -- | Base8 -- ^ octal -- | Base10 -- ^ decimal +-- | Symbols for which a multibase code is defined and supported by this library class ValidBase b => ToCode b where toCode :: proxy b -> Char