+str - adds ZipWith and makes Zip use that to create tuples/pairs

@patriknw @ktoso @2m @bantonsson, do we want this one? Or is Flexi replacing all the things?
Confirmed

On Wed, Nov 26, 2014 at 12:15 AM, Roland Kuhn <notifications@github.com>
wrote:

> In
> akka-stream-tests/src/test/scala/akka/stream/scaladsl/GraphZipWithSpec.scala:
>
> > +import scala.concurrent.duration._
> > +
> > +class GraphZipWithSpec extends TwoStreamsSetup {
> > +
> > +  override type Outputs = Int
> > +  val op = ZipWith((_: Int) + (_: Int))
> > +  override def operationUnderTestLeft() = op.left
> > +  override def operationUnderTestRight() = op.right
> > +
> > +  "ZipWith" must {
> > +
> > +    "work in the happy case" in {
> > +      val probe = StreamTestKit.SubscriberProbe[Outputs]()
> > +
> > +      FlowGraph { implicit b ⇒
> > +        val zip = ZipWith[Int, Int, Int]((_: Int) + (_: Int))
>
> For me the following compiles:
>
> val zip = ZipWith((_: Int) + (_: Int))
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/akka/akka/pull/16353/files#r20904945>.
>



-- 
Cheers,
√