`collect(myIntSet)` should also do it, I believe.

On Monday, June 15, 2015 at 8:20:15 PM UTC-4, [email protected] wrote:
>
> Ah, I understand. Thanks for responding and pointing me to the appropriate 
> pull request. So currently if we want to index with an IntSet, the best 
> thing to do is probably just convert the IntSet to a Vector{Int} using 
> something like:
>
> [ i for i in myIntSet ]
>
>
> yes?
>
> Cheers,
>
> Colin
>
> On Monday, 15 June 2015 13:15:55 UTC+10, Matt Bauman wrote:
>>
>> No, this isn't implemented in 0.4, either. It is something I've thought 
>> about, but IntSet's current semantics aren't quite right for the job. See: 
>> https://github.com/JuliaLang/julia/pull/10065#issuecomment-93853097 
>>
>> It may be worth splitting that PR out into the IndexSet package for this 
>> purpose. 
>
>

Reply via email to