axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: Hyperdoc


From: Waldek Hebisch
Subject: Re: [Axiom-developer] Re: Hyperdoc
Date: Wed, 13 Jun 2007 13:46:51 +0200 (CEST)

Martin Rubey rote:
> 
> Waldek, in case you know, could you just provide an example call from within
> the Axiom interpreter?  I tried
> 
> getDependentsOfConstructor(Integer)$Lisp
> 
> but only nil was returned.
> 

>From interpreter you may use:

)lisp (|getDependentsOfConstructor| '|Integer|)

The argument is an unevaluated (because of quote) symbol.  If you want to
call it from Spad you need to use something like:

(getDependentsOfConstructor$Lisp)((INTERN$Lisp)("Integer"))

or maybe use FIND_-SYMBOL insted of INTERN.  I do not know if there
is easier method to pass Lisp symbol from Spad to Lisp function.

-- 
                              Waldek Hebisch
address@hidden 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]