I'm having some difficulty using Turtle and only after several minutes staring at incomprehensible error messages realized that I was using wrong fold
function.
https://hackage.haskell.org/package/turtle-1.5.8/docs/Turtle-Shell.html#v:fold https://hackage.haskell.org/package/foldl-1.4.0/docs/src/Control.Foldl.html#fold
Why is there a name collision? I don't believe that's coincidence but I cannot figure it out. Are these inherently different kinds of folds?
To be concrete, I wanted to fold a stream filenames into single name using maximum of modification time.