Public Vars

Back

when-first (clj)

(source)

macro

(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

Examples