Why not do this via Compat.jl ?
C

On Tuesday, 3 November 2015 04:28:44 UTC, David Anthoff wrote:
>
> No, Compat generall ports the new syntax back to old versions. What I'm 
> suggesting is quite different, namely that in julia 0.5 if you just use 
> `[]` for slicing without anything else, you generate a warning, and then 
> you have to opt-in to the NEW syntax. 
>
> > -----Original Message----- 
> > From: julia...@googlegroups.com <javascript:> [mailto:julia- 
> <javascript:> 
> > us...@googlegroups.com <javascript:>] On Behalf Of Eric Forgy 
> > Sent: Monday, November 2, 2015 3:30 PM 
> > To: julia-users <julia...@googlegroups.com <javascript:>> 
> > Subject: RE: [julia-users] Re: Re: are array slices views in 0.4? 
> > 
> > Hi David, 
> > 
> > I'm not an expert, i.e. I've never used it, but your idea "using 
> OldArrays" 
> > sounds exactly like the purpose of Compat.jl, which I believe is the 
> > compatibility module referred to. 
> > 
> > Have a look and good luck: 
> > 
> > https://github.com/JuliaLang/Compat.jl 
>

Reply via email to