ClojureDocs

Nav

Namespaces

when-first

clojure.core

Available since 1.0 (source)
  • (when-first bindings & body)
bindings => x xs
 Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once