shashi / FileTrees.jl

Parallel computing with a tree of files metaphor
http://shashi.biz/FileTrees.jl
Other
88 stars 6 forks source link

`save` API is a bit unintuitive #15

Open JeffBezanson opened 4 years ago

JeffBezanson commented 4 years ago

Really nice package! Just taking a close look at the API.

save is a bit odd to me since it doesn't actually save anything unless the function you pass also calls save. Some possible ideas:

shashi commented 4 years ago

Call it foreach instead.

I like this the most!

shashi commented 4 years ago

But then save also creates the right paths with mkpath before allowing you to write to that path...