Julian way of expressing a buffer swap

His example uses Array{Int64, 1}.

Anyway, you definitely should specify the dimensionality, @mdtisdall, or have it as a type parameter.