Re: Guile Introspection

2007-07-08 Thread Ludovic Courtès
Hi, Mike Gran <[EMAIL PROTECTED]> writes: > For example, how can I write a function that prints its own name? In Scheme, functions are first-class objects that are not necessarily bound to a top-level name. For instance, a `lambda' is nameless: (lambda args ...) Thus, there is no generi

multi_module

2007-07-08 Thread Frank J. R. Hanstick
Hello, How do I change the default multi_module option to single_module? Frank ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

Re: Guile Introspection

2007-07-08 Thread Marco Maggi
Ciao, "Mike Gran" wrote: >Or, what is the scheme version of the following C code > >printf("%s %d\n", __FILE__, __LINE__); I like a solution that redefines DEFINE without introducing an environment in the body of the function. To do it: you have to take the body in question and treat it as a tree