Created
December 23, 2013 19:54
-
-
Save jaycfields/8103549 to your computer and use it in GitHub Desktop.
let can be the first binding to doseq, and it will be executed exactly 1 time.
This file contains hidden or 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
(doseq [:let [a (do (println 1) 99)] | |
x [11 12]] | |
(println x a)) | |
;; output: | |
;; 1 | |
;; 11 99 | |
;; 12 99 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment