JuliaFolds / Transducers.jl

Efficient transducers for Julia
https://juliafolds.github.io/Transducers.jl/dev/
MIT License
433 stars 24 forks source link

`SplitBy` error #565

Open ParadaCarleton opened 11 months ago

ParadaCarleton commented 11 months ago
julia> str = "Hello\$ World\$"
"Hello\$ World\$"

julia> str = str |> SplitBy(==('$')) |> Partition(2) |> collect |> first
ERROR: MethodError: no method matching unwrap(::Transducers.Reduction{Partition, Transducers.Reduction{Map{Type{BangBang.NoBang.SingletonVector}}, Transducers.BottomRF{Transducers.AdHocRF{typeof(BangBang.collector), typeof(identity), typeof(append!!), typeof(identity), typeof(identity), Nothing}}}}, ::Tuple{Int64, Int64})