--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 16, 2005 at 07:22:39AM +0900, Mark J.Reed wrote:
> Douglas Livingstone wrote:
> > Just a quick one, how do you translate this:
> > 
> > ((if (zero? 0) + -) 3 4)
> 
> What dialect of LISP is that?  Not Common... CL has no "zero?"

It's Scheme.  A much nicer dialect than CL, IMHO.  ;-)

I think in CL the equivalent would be:

((if (zerop 0) #'+ #'-) 3 4)

Note the ugly sharp-quotes, due to the fact that CL has separate
namespaces for values and functions.

regards,
Ed

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDoe/gnhUz11p9MSARAowLAJ9qqzeqw4XH5gM5Q5qVwxBAe6ZcewCfR0mJ
MgzAEU+72YnEkfTm+cvrKnoDL
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--