finding procedure definitions

2008-02-29 Thread Scott N. Walck
Guile folks, Is there a way to ask for the definition of a procedure or to find the source code for a procedure? For example, "symbol" is a guile procedure. I can see that by typing its name. guile> symbol # But how can I find more information, such as its definition, including what types of a

Re: finding procedure definitions

2008-02-29 Thread dsmich
"Scott N. Walck" <[EMAIL PROTECTED]> wrote: > Guile folks, > > Is there a way to ask for the definition of a procedure or to find the > source code for a procedure? Yes. > For example, "symbol" is a guile procedure. I can see that by typing > its name. > > guile> symbol > # > > But how

Trigger action at exit?

2008-02-29 Thread John Trammell
Hi all: I'm trying to trigger an action at script exit, similar to Perl's "END {...}" construct. After a little searching I've stumbled across "add-hook! exit-hook ...", but for the life of me I can't seem to get it to do what I want. Here's a taste of what I'm looking for: (define foo (lamb