[julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Samuele Carcagno
I understand that if I release a new version of a package "foo" and put `julia 0.4` in `REQUIRE`, the package won't be updated in julia v0.3 installations. If, after the updated package is released, somebody tries to install package "foo" from julia v0.3 what happens? Will they still be able to

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Yichao Yu
On Aug 18, 2015 2:54 PM, "Samuele Carcagno" wrote: > > I understand that if I release a new version of a package "foo" and put `julia 0.4` in `REQUIRE`, the package won't be updated in julia v0.3 installations. If, after the updated package is released, somebody tries to install package "foo" from

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Samuele Carcagno
On 18/08/15 21:46, Yichao Yu wrote: On Aug 18, 2015 2:54 PM, "Samuele Carcagno" mailto:sam.carca...@gmail.com>> wrote: > > I understand that if I release a new version of a package "foo" and put `julia 0.4` in `REQUIRE`, the package won't be updated in julia v0.3 installations. If, after the u

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Stefan Karpinski
Did you try `@compat x % UInt8`? On Tue, Aug 18, 2015 at 7:18 PM, Samuele Carcagno wrote: > On 18/08/15 21:46, Yichao Yu wrote: > >> >> On Aug 18, 2015 2:54 PM, "Samuele Carcagno" > > wrote: >> > >> > I understand that if I release a new version of a package "foo

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Samuele Carcagno
On 19/08/15 00:22, Stefan Karpinski wrote: Did you try `@compat x % UInt8`? yes, it gives the same error `ERROR: `rem` has no method matching rem(::Int32, ::Type{Uint8})` On Tue, Aug 18, 2015 at 7:18 PM, Samuele Carcagno mailto:sam.carca...@gmail.com>> wrote: On 18/08/15 21:46, Yichao

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Yichao Yu
On Tue, Aug 18, 2015 at 8:20 PM, Samuele Carcagno wrote: > On 19/08/15 00:22, Stefan Karpinski wrote: >> >> Did you try `@compat x % UInt8`? > > > yes, it gives the same error `ERROR: `rem` has no method matching > rem(::Int32, ::Type{Uint8})` Sorry, didn't realize you are converting to a smaller

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-18 Thread Steven G. Johnson
On Tuesday, August 18, 2015 at 7:22:49 PM UTC-4, Stefan Karpinski wrote: > > Did you try `@compat x % UInt8`? > You shouldn't need the @compat macro. The Compat package should just add methods to % (rem).

Re: [julia-users] package compatibility for julia v0.3 and v0.4

2015-08-19 Thread Samuele Carcagno
On 19/08/15 02:01, Yichao Yu wrote: On Tue, Aug 18, 2015 at 8:20 PM, Samuele Carcagno wrote: On 19/08/15 00:22, Stefan Karpinski wrote: Did you try `@compat x % UInt8`? yes, it gives the same error `ERROR: `rem` has no method matching rem(::Int32, ::Type{Uint8})` Sorry, didn't realize yo