This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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|#
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]