stream
Type members
Classlikes
Value members
Inherited methods
final
Intersperse the element a
between each adjacent pair of elements in as
Intersperse the element a
between each adjacent pair of elements in as
- Inherited from
- StreamFunctions
final
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
[as, as.tail, as.tail.tail, ..., Stream(as.last)]
- Inherited from
- StreamFunctions
Implicits
Inherited implicits
implicit
An alternative scalaz.Applicative instance for Stream
, discriminated by the type tag scalaz.Tags.Zip,
that zips streams together.
An alternative scalaz.Applicative instance for Stream
, discriminated by the type tag scalaz.Tags.Zip,
that zips streams together.
Example:
import scalaz.Tags.Zip
streamZipApplicative.apply2(Zip(Stream(1, 2)), Zip(Stream(3, 4)))(_ * _) // Stream(3, 8)
- Inherited from
- StreamInstances