Alias for fa.flatMap(_ => fb)
.
Alias for fa.flatMap(_ => fb)
.
Unlike *>
, fb
is defined as a by-name parameter, allowing this
method to be used in cases where computing fb
is not stack safe
unless suspended in a flatMap
.
Alias for flatMap.
Like an infinite loop of >> calls.
Like an infinite loop of >> calls. This is most useful effect loops that you want to run forever in for instance a server.
This will be an infinite loop, or it will return an F[Nothing].
Be careful using this. For instance, a List of length k will produce a list of length k^n at iteration n. This means if k = 0, we return an empty list, if k = 1, we loop forever allocating single element lists, but if we have a k > 1, we will allocate exponentially increasing memory and very quickly OOM.
(Since version 1.0.0-RC1) Use <* instead
(Since version 1.0.0-RC2) Use productREval instead.
(Since version 1.0.0-RC2) Use productLEval instead.