-
-
Save kindlychung/8423af12c554e0abdf66 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
(defmacro all [args] | |
`(boolean (and ~@args))) | |
(defmacro any [args] | |
`(boolean (or ~@args))) | |
(defmacro all1 [& args] | |
`(boolean (and ~@args))) | |
(defmacro any1 [& args] | |
`(boolean (or ~@args))) | |
(all (take 1000 (repeat 10))) | |
(all (repeat nil)) | |
(any (repeat 3)) | |
(any (repeat 5)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment