[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] Re: coerce to SEX
From: |
William Sit |
Subject: |
Re: [Axiom-developer] Re: coerce to SEX |
Date: |
Fri, 02 Jul 2004 19:00:27 -0400 |
Thanks, Mike. The BOOT_:_:GENVAR()$Lisp does not work on my version either. But
I noticed the underlines get deleted. Does the underline need any escape
character preceding it? What does this command do?
William
Mike Dewar wrote:
>
> You can use any Lisp function in the current Lisp package from the Axiom
> interpreter using `$Lisp', but you need to bear in mind some slight
> syntactic differences. For instance your example can be done as:
> a:=any(['Integer]$Lisp,3::None) -- use [ ... ] as shorthand for list(...)
> a:=any(LIST('Integer)$Lisp,3::None) -- apply LIST from Lisp
> Note that although the lisp interpreter will upper-case everything,
> Axiom doesn't so e.g. list(1)$Lisp won't work.
>
> I thought that you could package-qualify lisp calls in the interpreter
> by doing e.g. BOOT_:_:GENVAR()$Lisp, but this doesn't work in my version.
>
> I hope this helps.
>
> Mike.
>
>
> > Is there any documentation for all the Lisp code that can be used in Axiom?
> > (Lisp is NOT a domain despite the $Lisp notation). Are the commands part of
> > the
> > Boot language? (this may be a very stupid question).
> >
> > William