Create a stream from a sequence
The created stream
0.5.0
The sequence to create the stream from
The iterator of the sequence
For each element in the stream, call the given function
Check if the stream has a next element
Map the stream to another stream
Read the next element from the stream