This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Python transformer for Guile?
On Mon, Jan 24, 2000 at 11:35:00AM +1100, Telford Tendys wrote:
>
> By the way, Python seems like a pretty rocking little language, I really
> like the way it does its objects but sadly it has no equivalent to #f
> and instead makes 0 the only false object.
Ooops. Incorrect.
The ``quintessential'' false object is None (equivalent to #f
in scheme or nil in lisp).
Even then these aren't the ``only'' false values; all of these
are false:
None
0
'' (empty string)
() (empty tuple)
[] (empty list)
{} (empty dictionary)
[]s,
|alo
+----
--
I am Lalo of deB-org. You will be freed.
Resistance is futile.
http://www.webcom.com/lalo mailto:lalo@webcom.com
pgp key in the web page
Debian GNU/Linux --- http://www.debian.org
Brazil of Darkness -- http://zope.gf.com.br/BroDar