If you use the 0.2 version of Julia, you can just copy the foldl function from 
the source in 
https://github.com/JuliaLang/julia/blob/427c114a9f357cf96e3c9ac94bedceb64371d62f/base/reduce.jl#L74-85.
 Just be aware that you will get errors when you upgrade to 0.3 because you 
suddenly extend a Base function without importing it first.

Reply via email to