Reexport.jl icon indicating copy to clipboard operation
Reexport.jl copied to clipboard

Julia macro for re-exporting one module from another

Results 9 Reexport.jl issues
Sort by recently updated
recently updated
newest added

It may happen that you want to rename a few symbols in a module (e.g. because of name clashes). Do you think it would be possible, and/or useful, to have...

Suppose I have ```julia module QuantumControl using Reexport @reexport using QuantumControlBase end ``` then if a user does `using QuantumControl`, they'll not just get the *members* of `QuantumControlBase` injected into...

Any globals inserted into my main module are not automatically rendered when I use [`autodocs`](https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@autodocs-block) MWE is a package like: ```julia module Example using Reexport @reexport module Sub export greet...

cc: @timholy figures using https://excalidraw.com/ ![semver_workflow](https://user-images.githubusercontent.com/8684355/140517399-91c1e7eb-8328-4fe5-aaab-d6da91864b9d.png) ![semver_example_package](https://user-images.githubusercontent.com/8684355/140514459-e460444d-a65f-481f-8520-964d605a851e.png) ![semver_solution](https://user-images.githubusercontent.com/8684355/140516220-573ceae9-e510-4d7d-9b7b-bae22f0fdf1a.png)

I'm not sure if this is doable: ```julia module GiantPkg @reexport A using SubPkgA end ``` that mimics ```julia module GiantPkg module A using Reexport @reexport using SubPkgA end end...

@simonster Would you be ok with transferring this package to one of the existing github orgs - so that others can help doing small maintenance? It's a nice piece of...

``` julia module Y export f, g f(x) = x + 1 g(x) = x + 2 end module X export h using Reexport @reexport using ..Y: f h(x) =...

And cannot filter out names using `parentmodule` which is undefined for some names, seemingly randomly.