zachallaun/FunctionalCollections.jl — pull request #5 by kmsquire (2013-10-03 17:06:31+00:00)
Title: Make PersistentVector a subtype of AbstractArray{T,1} instead of AbstractArray{T}

I ran into this with
```julia
julia> a = @Persistent [1,2,3]
Persistent{Int64}[1, 2, 3]

julia> b = @Persistent [2,3,4]
Persistent{Int64}[2, 3, 4]

julia> s = Set(a,b)
Set{PersistentVector{Int64}}(Evaluation succeeded, but an error occurred while showing value of type Set{PersistentVector{Int64}}:
ERROR: no method display(Set{PersistentVector{Int64}},)
in display at multimedia.jl:152

julia> show(s)
Set{PersistentVector{Int64}}(ERROR: no method ndims(PersistentVector{Int64},)
in show_delim_array at show.jl:124
in show at set.jl:11
in show at show.jl:1
```

After this patch:
```julia
julia> a = @Persistent [1,2,3]
3-element PersistentVector{Int64}:
1
2
3

julia> b = @Persistent [2,3,4]
3-element PersistentVector{Int64}:
2
3
4

julia> s = Set(a,b)
Set{PersistentVector{Int64}}(Persistent{Int64}[2, 3, 4],Persistent{Int64}[1, 2, 3])
```

Note that the display of `pvecs` has changed. It does match mainline Julia better, but if you don't like this, the alternative is to simply define `ndims`.

(Nice package, BTW!)