Yes! Thanks! Unsure how to generate a '∈', however. Copied yours; and I guess there's no problem once I've pasted it into a .jl file as needed... but where's a handy reference to such symbols, while I'm at it?
On Mon, Jan 4, 2016 at 9:17 AM, Steven G. Johnson <stevenj....@gmail.com> wrote: > > > On Monday, January 4, 2016 at 9:57:35 AM UTC-7, Forrest Curo wrote: >> >> I can do something like the following with no complaint: >> julia> ns = Dict{Int8,Set{Int8}} >> > > What you've created is the type, but what you want is an instance of the > type. Do > > ns = Dict{Int8,Set{Int8}}() > > and then it should work as expected. e.g. > > ns[1] = Set{Int8}([3,7]) > > push!(ns[1], 17) > > isempty(ns[1]) > > 3 ∈ ns[1] > > > work. >