Currying in julia