Hi,

try:

  a = IntSet([1,2,1,3])
  collect(a)

that gives you a 3-element Array{Int64,1}.  This also work with ranges, like 
collect(1:3)

Cheers,

Rene



Am 11.03.2015 um 17:03 schrieb Ali Rezaee <arv.ka...@gmail.com>:

> In Python I would normally to something like this:
> 
> a = set([1,2,1,3])
> a = list(a)
> 
> What is the equivalent way to do this in Julia?
> 
> 
> Thanks a lot in advance for your help

Reply via email to