We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
flatMap is simply flatten compose map
flatten
map
imaging when you
[1,2,3]
x=>[x]
[[1],[2],[3]]
same thing happen to Stream
--1--2--3-->
x=>Stream(x+1)
--S(1+1)--S(2+1)--S(3+1)-->
S(1+1)
--2-->
----2----3----4-->
ref to Notation if these symbols make no sense to you.