some fixes to mapslices
Merge branch 'master' of github.com:JuliaLang/julia