I am writing a small Julia module with my own Reading type and want show and + to work on it. When I simply define show(io::IO, r::Reading) = ... inside my module, printing a value ignores it, and in another attempt I got an error saying the function must be explicitly imported to be extended.
What is the practical difference between using and import, and what is the correct way to extend a function that belongs to another module?




