Open jtrakk opened 3 years ago
A thought inspired by https://github.com/JuliaFolds/Transducers.jl/issues/481:
Take(n) Take n items from the input sequence.
Take(n)
Take n items from the input sequence.
This makes me think 1:3 |> Take(10) would error. To make the behavior more self-explanatory it could be TakeAtMost(10) for the permissive version and TakeExactly(10) for the error?
1:3 |> Take(10)
TakeAtMost(10)
TakeExactly(10)
A thought inspired by https://github.com/JuliaFolds/Transducers.jl/issues/481:
This makes me think
1:3 |> Take(10)
would error. To make the behavior more self-explanatory it could beTakeAtMost(10)
for the permissive version andTakeExactly(10)
for the error?