Last updated 6 years ago
loop은 recur의 대상점(기준점)이 됨, recur를 만나면 loop으로 가거나 현재 함수를 재귀로 부르거나.
loop
recur
loop은 let과 같은 형태로 인자를 받음
let
swagger와 함께 schema를 사용할 때, 정해지지 않은 맵을 내려주고 싶으면 다음과 같이 하면 된다.
(defschema body {s/Keyword s/Any}) ... :return Body ...
> (require '[clojure.java.io :as io] ) > (.exists (io/as-file "test.txt"))
(:require [clj-time.core :as t]) ;;어제 (t/minus (t/now) (t/days 1)) ;;그제 (t/minus (t/now) (t/days 2))