Skip to main content

make_key_map

Function make_key_map 

Source
pub fn make_key_map(
    ops: &IndexMap<String, Option<OpDef>>,
) -> Result<KeyMap, FoldError>
Expand description

The key operators of an operator table, the port of the canonical makeKeyMap. A key operator carries no token, no tin and no binding power; its terms is 2, the member’s value and the sibling map. Two key operators on one member name, or one naming no member, are refused with FOLD_KEY.