Module fera::fun

source ·
Expand description

Free function for fun programming.

Functions

Returns the first item of an iterator.
Returns the last position of the maximum element of a non empty iterator or None if iterator is empty.
Returns the first position of the minimum element of a non empty iterator or None if iterator is empty.
Returns the first position of an item of an iterator or None if the iterator does not produces the item.
Creates a HashSet from a iterator.
Creates a Vector from a iterator.