- (c-u/ U1 U2) → listsyntax
Unary division. Yields a list of two unary numbers, representing the quotient and the remainder of the division.
Given the second list has length N, the quotient will contain every Nth item from the first list, and the remainder will contain the tail of the first list. Division by zero (empty list) is a syntax error.
(ck () (c-quote (c-u/ '(a b c d e f g h i j k) '(x y z)))) ;; ==> '((g d a) (j k)) ;; Because 11 / 3 = 3 with a remainder of 2.