-
-
Save 6ewis/48968c8d338a1e10424a 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
(def adjs ["Alice is normal" "Alice is too small" "Alice it too big" "Alice is swimming"]) | |
(defn alice-is [in out] (if (empty? in) | |
out | |
(alice-is (rest in) | |
(conj out (str "Alice is " (first in))) | |
) | |
)) (alice-is adjs []) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment