On julia-0.5 one was getting the following warning:
WARNING: using PkgSearch.next in module Main conflicts with an existing identifier.
That's because PkgSearch doesn't import Base: next. But I don't really see any reason to extend next, you just want your own private version of next, so the obvious thing to do is to not export it. Since in your README all your functions are scoped by the module, it seems reasonable to just delete all exports.
The first commit contains the only "real" change, the rest is just whitespace (I have emacs set to delete trailing whitespace, etc).
On julia-0.5 one was getting the following warning:
That's because PkgSearch doesn't
import Base: next
. But I don't really see any reason to extendnext
, you just want your own private version ofnext
, so the obvious thing to do is to not export it. Since in your README all your functions are scoped by the module, it seems reasonable to just delete all exports.The first commit contains the only "real" change, the rest is just whitespace (I have emacs set to delete trailing whitespace, etc).