map -package:containers -package:dense-linear-algebra package:bimap -is:module
O(n*log n) Map a function over all the left keys in the map.
Version 0.3
O(n). Map a strictly increasing function over all left keys in
the map. The precondition is not checked. Version 0.3
O(n). Map a strictly increasing function over all right keys in
the map. The precondition is not checked. Version 0.3
O(n*log n) Map a function over all the right keys in the map.
Version 0.3
Bidirectional mapping between two key types
A data structure representing a bidirectional mapping between two key
types. Each value in the bimap is associated with exactly one value of
the opposite type.
A bidirectional map between values of types a and b.
O(1). Extract only the left-to-right component of a bimap.
Version: 0.2.1
O(1). Extract only the right-to-left component of a bimap.
Version: 0.2.1