chickadee » mini-kanren » build-num

build-num nprocedure

Constructs a bit-list to represent a number given a positive exact number.

Example:

(build-num 0) ; => ()
(build-num 1) ; => (1)
(build-num 2) ; => (0 1)