Andy Ferris

Results 373 comments of Andy Ferris

No it’s not a bug but it is a known limitation (the elements are assumed to have the same type). Have you checked out the performance using Julia’s built in...

This is a huge problem that deserves fixing. It might require a bunch of overloads or special cases. Note the sometimes the indices (or length) might be immutable or mutable;...

Hmm, there seems to be an issue with broadcast?

@ParadaCarleton I'm not 100% sure what the suggestion is - do you have a code example? For the moment, with `Dictionary` you can use the token as an integer key....

So overloading `getindex` this way will never work because it would be ambiguous what to do with types like `NumDict{Union{Int, Char}, Char}` or `NumDict{Any, Any}` - would the index for...

Hmm. While I can see why you could desire that and see it as a worthwhile tradeoff, I can't see that we'll be able to cleanly support a second meaning...

> NumDict{Union{Int, Char}, Char} or NumDict{Any, Any} should throw errors, as supertypes of Int; the idea of a new type would be to enforce the requirements needed to be sure...

Yes, sometimes you want an "array that can be either indexed with a integer or a key" rather than a "dictionary that can be either indexed with a key or...

I am also having a similar issue. WSL only works for 5 minutes, until I restart my computer (though I note the comment about `wsl --shutdown` which might let me...

Hmm, yes that is an interesting use case. The "inner join" and "left join" patterns are pretty common. Note this is getting very low level. Maybe something like the "tokens"...