May 2019
Beginner to intermediate
466 pages
10h 44m
English
Now that we've added our folder to the LOAD_PATH, we're ready to use our modules:
julia> using Letters
At this point, two things have happened:
Let's try it:
julia> randstring() # has been exported and is directly accessible "TCNXFLUOUU" julia> myname() # has not been exported so it's not available in the REPLERROR: UndefVarError: myname not defined julia> Letters.myname() # but we can access it under the Letters namespace "Letters" julia> Letters.rand() # does not conflict with Base.rand 'L': ASCII/Unicode U+004c ...
Read now
Unlock full access