Hi,

Should the following work? ( (BTW it doesn't for a variety of reasons.)

# VERSION = 0.2.1

using DataStructures

function produceall ( x )
    for v in x
        produce( v )
    end
end

data = ["a", "b", "c", "a"]

ct = counter( @task produceall( data ) )

println( ct["a"] )

It looks like Accumulators/counters could be more relaxed about types?

__Jason




Reply via email to