axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Debugging Boot


From: Martin Rubey
Subject: Re: [Axiom-developer] Debugging Boot
Date: 24 Nov 2006 08:39:52 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Vanuxem Gregory <address@hidden> writes:

> Le jeudi 23 novembre 2006 à 19:27 +0100, Vanuxem Gregory a écrit :
> > Le jeudi 23 novembre 2006 à 09:14 +0100, Martin Rubey a écrit :
> > 
> > [...]
> > 
> > > I don't know how to call putWidth from within boot, i.e., after saying 
> > > )fin.
> > > 
> > > I.e., how can I access, say, an Axiom variable from boot? I'd like to say
> > > -------------------------------------------------------------------------------
> > > p := (x**2)::OUTFORM
> > > 
> > > )fin
> > > 
> > > putWidth(p)
> > > -------------------------------------------------------------------------------
> > > or so.
> 
> A more simple way (without history):
> 
> (cddadr (find-if #'(lambda (a) (eql (car a) 'Q)) (caar |
> $InteractiveFrame|))))
> 
> Where Q (or for example |a|) is the name of the variable. Sent even if you
> already have a response since the mailing list (my provider ?) has problems.

Thanks, that seems to do the trick. unfortunately, I seem to be unable to use
boot-syntax in boot-mode :-(

For example, I'd like to interpret

  putWidth u is [[.,:n],:.] => n

but (is (|putWidth| u) [[.,:n],:.])

doesn't work...

Well, I hope still that I can find the bug now, thanks a lot!

Martin





reply via email to

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