ah, Queue's don't need to be typed, the type is a parameter to the 
constructor.  Parens, not braces.  So, why are Vectors defined as 
Vector{ByteString}(vecLength)?  Where is the syntactical consistency?

On Thursday, February 4, 2016 at 2:47:52 PM UTC-8, Yichao Yu wrote:
>
> On Thu, Feb 4, 2016 at 5:43 PM, Michael Landis <[email protected] 
> <javascript:>> wrote: 
> > so ... what's the syntax for creating an empty Queue{ByteString}? 
> > 
> > qbs = Queue{ByteString}([])    # also produces convert errors 
>
> I think the document tells you exactly that. 
> https://github.com/JuliaLang/DataStructures.jl#stack-and-queue 
>
> Queue(ByteString) seems to work. 
>
> > 
> > 
> >> 
> > 
>

Reply via email to