Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ACL2

Name: Anonymous 2014-07-06 1:33

(defun replace-ints (x)

(cond ((endp x) nil)

((integerp (car x))
(cons 'I
(replace-ints (cdr x))))

(t
(cons (car x)
(replace-ints (cdr x))))))

Name: Anonymous 2014-07-06 6:11

>>4
Vile, disgusting shit. Even Racket least allows using only round brackets, and any code can be purified using simple find-and-replace. This, however, makes a syntactic difference between [] and (). Call it however you want, but it sure as hell isn't Lisp.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List