This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Variable names and symbols starting with a number.
- From: Rob Hunter <rhunter at mercedsystems dot com>
- To: "Kjetil S. Matheussen" <k dot s dot matheussen at notam02 dot no>, <kawa at sourceware dot org>
- Date: Wed, 31 Jan 2007 10:25:19 -0800
- Subject: Re: Variable names and symbols starting with a number.
I don't believe this is a bug. This is the Kawa units feature. Try
something like this:
#|kawa:2|# (* 4m 3m)
12m^2
There's a touch of documentation here:
http://www.gnu.org/software/kawa/Quantities.html
--rob
On 1/31/07 10:20 AM, "Kjetil S. Matheussen" <k.s.matheussen@notam02.no>
wrote:
>
> I looked up the documentation and searched the archive,
> but couldn't find out if this is a feature, a bug, or illegal scheme
> code?:
>
> #|kawa:5|# (display '22gg)
> (* 22 gg$unit)
> #|kawa:6|# (eq? '2g '2g)
> #f
> #|kawa:7|# (define 2g 90)
> /dev/stdin:8:1: '2g' is not a valid identifier
> #|kawa:8|#
>