Iterators on DHashMap and DHashMap.Raw #
Returns a finite iterator over the entries of a dependent hash map. The iterator yields the elements of the map in order and then terminates.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Equations
- m.iter = Std.Iterators.Iter.flatMap (fun (b : Std.DHashMap.Internal.AssocList α β) => b.iter) m.buckets.iter
Instances For
Returns a finite iterator over the keys of a dependent hash map. The iterator yields the keys in order and then terminates.
The key and value types must live in the same universe.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Equations
- m.keysIter = Std.Iterators.Iter.map (fun (e : (a : α) × β a) => e.fst) m.iter
Instances For
Returns a finite iterator over the values of a hash map. The iterator yields the values in order and then terminates.
The key and value types must live in the same universe.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Equations
- m.valuesIter = Std.Iterators.Iter.map (fun (e : (_ : α) × β) => e.snd) m.iter
Instances For
Returns a finite iterator over the entries of a dependent hash map. The iterator yields the elements of the map in order and then terminates.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Instances For
Returns a finite iterator over the keys of a dependent hash map. The iterator yields the keys in order and then terminates.
The key and value types must live in the same universe.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Instances For
Returns a finite iterator over the values of a hash map. The iterator yields the values in order and then terminates.
The key and value types must live in the same universe.
Termination properties:
Finiteinstance: alwaysProductiveinstance: always
Equations
- m.valuesIter = Std.Iterators.Iter.map (fun (e : (_ : α) × β) => e.snd) m.iter