David Widmann

Results 1463 comments of David Widmann

I'd say the main rules are to avoid type piracy, to absolutely never define `show` methods for `Type`s, and otherwise follow the conventions in the docs (https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing; main points: two...

On purpose? Or is this limitation (and the example above) considered a bug?

I see, the explanation makes sense. From a user perspective, however, I think it's quite unfortunate, I think it would be a very useful feature. For instance, I had a...

I think it would be a good opportunity to also clean up existing `VERSION` checks in the package and the tests.

It actually seems that Julia < 1.10.10 is completely untested at this point: https://github.com/JuliaArrays/FillArrays.jl/blob/f160c66ce092712e47ad726dee0e4212c77210d1/.github/workflows/ci.yml#L40-L43 You might want to test `min` as well (which currently would be `1.6.0` and with this...

> If a bug is ever triggered only in 1.10.0 it's not a good use of anyones time to fix it. In principle, you don't have to fix anything apart...

It seems this is a good use case for weak deps. Some packages already started moving ChainRules definition to weak deps. The definitions would be loaded only on Julia >=...

I assume it already works with the beta version, so I think you can already use it without compiling julia.

If a weak dependency is loaded, an extension (usually a single file) in the `ext` subfolder is loaded (and precompiled, in contrast to the Requires hacks!). AFAIK there are no...