axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Re: Hyperdoc


From: Martin Rubey
Subject: Re: [Axiom-developer] Re: Hyperdoc
Date: 13 Jun 2007 06:35:23 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Waldek Hebisch <address@hidden> writes:

> > getUsersOfConstructor(con) ==
> >   stream := readLib1('USERS, 'DATABASE, 'a)
> >   val := rread(con, stream, nil)
> >   RSHUT stream
> >   val
> 
> > getDependentsOfConstructor(con) ==
> >   stream := readLib1('DEPENDENTS, 'DATABASE, 'a)
> >   val := rread(con, stream, nil)
> >   RSHUT stream
> >   val
> 
> Yes, this is correct place.  

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.

Many many thanks for the debugging trick below!

Martin

> In general many HyperDoc pages are
> dynamically generated.  Each page has its own function responsible
> for generating the page.  One way to find out which function is
> responsible for given page is to eavesdrop communication between
> hypertex and AXIOMsys (say using strace).  Another is just look
> at code generating starting page and chase links.
> 
> Concerning pages that interests you we have:
> 
> Page                generator
> Users               kcuPage
> Uses                kcnPage
> Dependents          kcdePage
> 
> Looking at kcuPage one sees that it calls getUsersOfConstructor.
> Similarly kcnPage calls getImports.
> 
> -- 
>                               Waldek Hebisch
> address@hidden 





reply via email to

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