Andy Ferris

Results 396 comments of Andy Ferris

Interesting. Can you write down how to reproduce that output?

Yes, I did implement it this way but the reason I didn't advertise this is I wasn't 100% sure whether the underlying `Vector` actually relinquishes its memory when shrunk. (I...

> Could the first entry be removed? Saying that an error starts at `Base ./error.jl` is so ... useless. But `error(x)` is just a function that invokes `throw(ErrorException(x))`. The stacktrace...

I also kinda feel like semicolons might be good here, but it's not a super strong opinion. For one thing it wasn't obvious to me (before I checked) that `"$(1,2)"`...

These might exist in an ancient branch. I’d love to have these!

That’s a good idea. Currently it must be falling back to the Base method.

Yes, we use `promote` to harmonise the elements of a homogenous dictionary, like how for arrays `[true, 0]` gives `Int[1, 0]`. It's likely `Dict` uses `promote_jointype` instead (but generally the...

Promotion is optional: if you specify the dictionary type precisely and use it's constructor there is no promotion. The issue here is taking a list of pairs and constructing a...

I agree - we should set it up as an action that can be initiated on click.

This is definitely a known and (so far) deliberate inconsistency between here and `Base`. It is also hard to see the implementation in `Base` (types depending on runtime logic) really...