Skip to content

unitful within pluto problems because of modules #1374

Discussion options

You must be logged in to vote

I'm trying to use Unitful within pluto to define a unit with the @Unit macro, but hat requires the unit to be defined within a module for it to later be imported. I can't find a way to achieve this, as modules defined in one cell aren't visible in another

I don't see this as true, I tried creating a new unit in a module and then reference it in another cell and I don't get any problem with that:

I am on the main branch of Pluto, so don't know if this is somehow working now due the macro analysis feature that is not in the latest registered Pluto version yet, but I think being able to reference created module is there also in base Pluto.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drdozer
Comment options

@drdozer
Comment options

Answer selected by drdozer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants