[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: t and nil in pure memory?
From: |
Sam Steingold |
Subject: |
Re: t and nil in pure memory? |
Date: |
Sun, 22 Nov 2009 01:48:45 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> * Chong Yidong <address@hidden> [2009-11-20 00:47:18 -0500]:
>
> FWIW, in CLISP and CMUCL (unintern nil) and (unintern t) are no-ops
> returning nil. Presumably the other CL implementations do likewise.
This is not true about CLISP (and presumably other CL implementations).
[1]> (unintern cl:t)
NIL
This is indeed a noop because the default package is CL-USER and T lived
in CL.
[2]> (unintern cl:t :cl)
** - Continuable Error
UNINTERN(T): #<PACKAGE COMMON-LISP> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed
The following restarts are also available:
ABORT :R1 Abort main loop
Break 1 [3]> continue
#:T
USER[4]> (find-symbol "T" "CL")
NIL ;
NIL
i.e., it IS possible to remove the T symbol (with all the trouble this
entails).
As a CLISP maintainer, I don't think T & NIL are special enough.
We lock entire packages.
Please see <http://clisp.cons.org/impnotes/pack-lock.html>.
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty)
http://iris.org.il http://camera.org http://jihadwatch.org http://pmw.org.il
http://openvotingconsortium.org http://ffii.org http://mideasttruth.com
Computers are like air conditioners: they don't work with open windows!
- Re: t and nil in pure memory?, (continued)
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/17
- Re: t and nil in pure memory?, David Kastrup, 2009/11/17
- Re: t and nil in pure memory?, Richard Stallman, 2009/11/18
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/18
- Re: t and nil in pure memory?, Daniel Colascione, 2009/11/18
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/18
- Re: t and nil in pure memory?, Richard Stallman, 2009/11/19
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/19
- Re: t and nil in pure memory?, Richard Stallman, 2009/11/19
- Re: t and nil in pure memory?, Chong Yidong, 2009/11/20
- Re: t and nil in pure memory?,
Sam Steingold <=
- Re: t and nil in pure memory?, David Kastrup, 2009/11/22
- Re: t and nil in pure memory?, Dan Nicolaescu, 2009/11/19
- Re: t and nil in pure memory?, Dan Nicolaescu, 2009/11/15
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/15
- Re: t and nil in pure memory?, Ken Raeburn, 2009/11/18
- Re: t and nil in pure memory?, Daniel Colascione, 2009/11/18
- Re: t and nil in pure memory?, Tom Tromey, 2009/11/18
- Re: t and nil in pure memory?, Tom Tromey, 2009/11/18
- Re: t and nil in pure memory?, Ken Raeburn, 2009/11/22
- Re: t and nil in pure memory?, Stephen J. Turnbull, 2009/11/23