I would like to know how to do something like this-
typealias Corpus Array{Int,1}

and write a constructor for it. Currently, if I do -

Corpus() = Array(Int,0)

I get-

ERROR: cannot define function Corpus; it already has a value

I am sure others have encountered this problem before. I went through 
https://github.com/JuliaLang/julia/issues/1470 but I am still not able to 
figure out what is the issue involved. 

Thanks,
Krishna

Reply via email to