Most things in 0.3 will still work in 0.4 except with a handy depreciation 
error which will tell you exactly what to fix. Here are some tips:

- Use Compat.jl. It makes life a LOT easier. It lets you write a single 
version of your code for 0.4 (or, more generally, the latest version of 
julia) while automagically allowing your code to run in previous versions 
as well.

- Union(...) -> Union{}

- FloatingPoint -> AbstractFloat

- [a; b] -> [a, b]

- [a, b] (if a and b are vectors) -> vcat(a, b)

- float64([...]) -> map(Float64, [...]) or just Float64[...]

These should cover most errors I've seen...

Also a few coding notes: Now that Cartesian.jl is part of the Base library, 
it makes sense to use it whenever you want to. Also, we're gradually moving 
to slices becoming views so you might want to keep that in mind.

Reply via email to