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

Using Global Variables

Name: Anonymous 2010-12-26 13:42

... in a Library is worse than murder.

Satan himself will arise from the depths of Oblivion to tear apart your soul for that.

Name: Anonymous 2010-12-26 23:23

>>18
#lang racket
(require (prefix-in racket: racket/base))
(provide car cdr)
(define (car l) (racket:cdr l))
(define (cdr l) (racket:car l))

(car (cons 1 2)) ; => 2
(cdr (cons 1 2)) ; => 1


It's Lisp nature to be completely redefineable and extendable, I said "it doesn't work" because of
but you'd just break most of the existing code

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