Last active
August 29, 2015 14:02
-
-
Save rigibun/c7da8ad71738debce24d 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
(defn getchar [] | |
(rand-nth | |
(sequence "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))) | |
(defn gen-stap [accum func] | |
(if (= (func (str (getchar) (getchar) (getchar) (getchar))) "STAP") | |
accum | |
(recur (+ accum 1) func))) | |
(println (gen-stap 1 | |
(fn [s] | |
(println s "細胞") s)) | |
"回目で陽性確認") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment