It can be nice when developing a transducer chain to iteratively prototype it using first instead of the final reducer. This usually works fairly well, e.g.
1:4 |> Map(identity) |> Filter(iseven) |> first
However, the moment I introduce withprogress this stops working.
1:4 |> withprogress |> Map(identity) |> Filter(iseven) |> first
ERROR: MethodError: no method matching iterate(::Transducers.ProgressLoggingFoldable{UnitRange{Int64}})
It would be nice if I didn't have to remember to remove withprogress when prototyping and re-add it when processing the whole collection.
It can be nice when developing a transducer chain to iteratively prototype it using
first
instead of the final reducer. This usually works fairly well, e.g.However, the moment I introduce
withprogress
this stops working.It would be nice if I didn't have to remember to remove
withprogress
when prototyping and re-add it when processing the whole collection.