You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the example in the github page, and it turns out that the method definition filter{T}(f::Function, input::Signal{T}; kwargs...) is not working as intended.
First, when I input
filter(v -> v == :Alice, votes)
I get the following warning :
WARNING: filter(flt, itr) is deprecated, use Iterators.filter(flt, itr) instead.
Stacktrace:
[1] depwarn(::String, ::Symbol) at .\deprecated.jl:70
[2] filter(::Function, ::Reactive.Signal{Symbol}) at .\deprecated.jl:57
[3] include_string(::String, ::String) at .\loading.jl:522
[4] include_string(::Module, ::String, ::String) at C:\Users\ekim7\.julia\v0.6\Compat\src\Compat.jl:71
[5] execute_request(::ZMQ.Socket, ::IJulia.Msg) at C:\Users\ekim7\.julia\v0.6\IJulia\src\execute_request.jl:158
[6] (::Compat.#inner#17{Array{Any,1},IJulia.#execute_request,Tuple{ZMQ.Socket,IJulia.Msg}})() at C:\Users\ekim7\.julia\v0.6\Compat\src\Compat.jl:385
[7] eventloop(::ZMQ.Socket) at C:\Users\ekim7\.julia\v0.6\IJulia\src\eventloop.jl:8
[8] (::IJulia.##14#17)() at .\task.jl:335
while loading In[48], in expression starting on line 1
WARNING: filter(flt, itr) is deprecated, use Iterators.filter(flt, itr) instead.
This means that the the filter{T}(f::Function, input::Signal{T}; kwargs...) is directed to Base.filter, not Reactive.filter. Probably this happens due to deprecation.
The text was updated successfully, but these errors were encountered:
Hi,
I was following the example in the github page, and it turns out that the method definition
filter{T}(f::Function, input::Signal{T}; kwargs...)
is not working as intended.First, when I input
I get the following warning :
This means that the the
filter{T}(f::Function, input::Signal{T}; kwargs...)
is directed toBase.filter
, notReactive.filter
. Probably this happens due to deprecation.The text was updated successfully, but these errors were encountered: