-
-
Save anonymous/a51f8d487fbdeca53cbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(loop [[task & more] tasks] | |
(let [result (task)] | |
(if (:error result) | |
result | |
(when more | |
(recur more))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment