Closed Starwort closed 10 months ago
The example as written for the pure-Python equivalent of scan() acts as a pass-through operator; this is due to a typo in the code, where x is appended to the output instead of max_so_far, as the actual behaviour of scan would require
x
max_so_far
scan
Thanks for catching this!
The example as written for the pure-Python equivalent of scan() acts as a pass-through operator; this is due to a typo in the code, where
x
is appended to the output instead ofmax_so_far
, as the actual behaviour ofscan
would require