I have a bunch of types, structs and functions in a file I called ProjectModule.jl
module ProjectModule using DataFrames abstract type A end mutable struct foo <: A a::Int64 end function f(x::foo) return x.a end include("OtherStuff.jl") export SomethingElse end
I used to be able to write
Now that errors with
ERROR: ArgumentError: Package ProjectModule not found in current path: - Run `Pkg.add("ProjectModule")` to install the ProjectModule package.
import gives the same error. (I know these have different intended effects I was just trying to see if one of them would work.)
gives an error because I have not created this a package, nor do I intend to.
I am running Julia from within the folder containing the file
ProjectModule.jl. Do I need to tell Julia to look in the directory I’m working in for this file?