Bimap where one of the keys is (of the size of) a Word8.
Modulepgp-wordlist-0.1.0.3Haskell2010
Data.Text.PgpWordlist.Internal.Word8Bimap
Bimap between Word8 an an arbitrary (ordered) type. Values of type Word8Bimap have to be constructed carefully to contain values for all 256 Word8 values, or the API will not be safe to use.
- 1 type
- 3 values
- Packagepgp-wordlist-0.1.0.3
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceWord8Bimap.hs
Create a Word8Bimap from an association list.
The list must contain all Word8 in order to make the API operating on the result safe.
Get the value corresponding to an index.
Get the index corresponding to a value, if present.