chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] representation of a procedure


From: Kon Lovett
Subject: Re: [Chicken-users] representation of a procedure
Date: Thu, 27 Jun 2013 10:45:25 -0700

On Jun 27, 2013, at 9:52 AM, "Daniel Ajoy" <address@hidden> wrote:

> Hi,
> 
> Is there a function that gives the content of a procedure (it's definition)?

The interpreter doesn't save the original s-expr & neither does the compiler. 
Reflection facilities are slim.

You can recover, sometimes, the expected argument list. See:

http://api.call-cc.org/doc/library#sec:procedure-information
http://wiki.call-cc.org/eggref/4/srfi-102

> 
> Daniel
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

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