jon.recoil.org

Module Code_id.Lmap

type +'a t

The key should not already exist in the map; this is not checked.

Unlike disjoint_union on maps, the disjointness is not checked.

The given maps must be pairwise disjoint, which is not checked.

Simultaneously map over the elements and accumulate a value. The arguments are ordered so as to make the order preservation as explicit as possible (the accumulator is produced from the values _before_ the key and value being passed).

Keys in the list must be distinct, which is not checked.

val for_all_with_fixed_arg : (Flambda2_identifiers.Int_ids.Code_id.Lmap.key -> 'a -> 'b -> bool) -> 'a Flambda2_identifiers.Int_ids.Code_id.Lmap.t -> 'b -> bool

Returns an unspecified binding from the map

Keys in the sequence must be distinct from each other and from keys already in the map; neither of these conditions is checked.

Keys in the sequence must be distinct, which is not checked.

Check that there are no duplicates in the list, calling Misc.fatal_errorf if a duplicate is found.