There's also a Compat.jl entry for this, see the first bullet point in the documentation on the README. That way, you can just do
@compat Base.:! and it will be valid for both 0.4/0.5. https://github.com/JuliaLang/Compat.jl -Jacob On Mon, Aug 8, 2016 at 9:04 AM, Scott T <[email protected]> wrote: > Great, thanks. I found that > import Base: ! > also works and is also compatible with 0.4/0.5. > > On Monday, 8 August 2016 15:26:46 UTC+1, Kevin Squire wrote: >> >> Try >> >> import Base.(!) >> >> Cheers, >> Kevin >> >> On Monday, August 8, 2016, Scott T <[email protected]> wrote: >> >>> In 0.4 I would write: import Base.! >>> The syntax Base.:! is not yet supported. >>> >>> In 0.5: >>> >>> julia> import Base.:! >>> ERROR: syntax: invalid "import" statement: expected identifier >>> >>> julia> import Base.! >>> ERROR: syntax: invalid operator ".!" >>> >>> What am I missing here? >>> >>
