LINKED LISTS?

Moshe Zadka moshez at math.huji.ac.il
Sat May 13 12:14:32 CEST 2000


On Sat, 13 May 2000, Moshe Zadka wrote:

> define cons(car, cdr):
> 	return car, cdr
> 
> define car(cons):
> 	return cons[0]
> 
> define cdr(cons):
> 	return cons[1]

Ummmm...braino:
string.replace(message, "define", "def")
--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list