| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Biobase.Types.Names.Internal
- speciesNameBimap :: IORef (Bimap (HashMap Text Int) (Vector Text))
- speciesNameBimapAdd :: Text -> Int
- speciesNameBimapLookupInt :: Int -> Text
Documentation
speciesNameBimapAdd :: Text -> Int Source #
Add Text and return Int key. Will return key for
existing string and thereby serves for lookup in left-to-right
direction.
speciesNameBimapLookupInt :: Int -> Text Source #
Lookup the InternedMultiChar based on an Int key. Unsafe totality
assumption.