chickadee » ck-macros » c-uodd?

(c-uodd? U) → '#t or '#fsyntax

Unary odd?. Yields '#t if the given list's length is odd length (i.e. not a multiple of 2), otherwise yields '#f.

(ck () (c-quote (c-uodd? '())))
;; ==> '#f
(ck () (c-quote (c-uodd? '(a))))
;; ==> '#t
(ck () (c-quote (c-uodd? '(a b))))
;; ==> '#f