Mason Protter
Mason Protter
This looks nice to have! However, I think it'd typically be more useful to have something like this in the field position rather than a universal decorator for a given...
Hoping to mitigate this somewhat with https://github.com/JuliaFolds/Transducers.jl/pull/553. However, Transducers.jl (and by extension, ThreadsX.jl), is at it's worst when dealing with very fast functions like your `foo`.
> I assume this is intended to avoid having to see JET errors for `sqrt` throwing exceptions for negative argument. > > I don't like the idea of simply declaring...
> > > > I think this is a decision best made by the callers of `report_package`, who might have disparate needs, not the caller of `sqrt`. The function writer...
You can use `Base.get_extension` for this: ```julia help?> Base.get_extension get_extension(parent::Module, extension::Symbol) Return the module for extension of parent or return nothing if the extension is not loaded. ````
Ah I see yeah, my mistake. We'd need to fix the `find` mechanisms for these.
This would be really nice!
Thanks @ronisbr that fixes it for me. __________ Edit: no wait, sorry that does not actually fix for me :(
Okay, I was able to bisect the issue to this commit: https://github.com/JuliaEditorSupport/julia-emacs/commit/f359fd01c5ad673990cb4bccc6895e5b2dbd2785 cc @non-Jedi
> EDIT: Actually glancing at [nnicandro/emacs-jupyter#236](https://github.com/nnicandro/emacs-jupyter/pull/236), it probably works as is and just needs rebased. Not going to turn it from "Draft" into a full PR until somebody tests it...