I’m sure I’m being a complete idiot, since this seems so trivial but if someone 
could point me in the right direction I’d be very grateful.

I have a simple data stream [(Int, Double)] keyed on the Int. I can calculate 
the running max of the stream no problem using “.max(2)”. But I want to output 
the original input together with the running max value as [(Int, Double, 
Double)]. I’ve hunted high and low for a means to do something so trivial.

Nick Walton

Reply via email to