You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(defn walk
"Lazily walk depth-first over the directory structure starting at
'path' calling 'func' with three arguments [root dirs files].
Returns a sequence of the results."
[func path](map #%28apply func %%29 %28iterate-dir path%29))
If I want to iterate over a directory of images, and generate a thumbnail for those images, then I should use "pmap" rather than "map". I am writing a custom version of this function for myself, but perhaps you could make "map" a variable?
The text was updated successfully, but these errors were encountered:
About this function:
(defn walk
"Lazily walk depth-first over the directory structure starting at
'path' calling 'func' with three arguments [root dirs files].
Returns a sequence of the results."
[func path](map #%28apply func %%29 %28iterate-dir path%29))
If I want to iterate over a directory of images, and generate a thumbnail for those images, then I should use "pmap" rather than "map". I am writing a custom version of this function for myself, but perhaps you could make "map" a variable?
The text was updated successfully, but these errors were encountered: