Pluto vs. IJulia: Including a Local Module

Apart from the solution from @Jakob, if you really want to have access to the exported functions it seems you can do it in this hacky way:

where TESTMOD.jl is only:

module TESTMOD

export hello

function hello()
	"HELLO"
end

end

If I am not mistaken Pluto generates a new workspace everytime you run a cell, and simply bring into the new workspaces everything you didn’t delete from previous workspaces.

The problem with the approach above is that the using would give you an error when loading the notebook and you would have to re-run the cell with some appropriate workspace number afterwards.

In general including files directly in Pluto is not recommended, you can find some more details on the discussion to Pluto issue 115 on GH