procedure-body

"Turadg Aleahmad" <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <002101c305f6$95d4a2a0$dd9d2080@Cassis>
Hi.

I'm porting some code to SISC that makes use of STk's |procedure-body| function.  The docs <http://kaolin.unice.fr/STk/Doc/STk.pdf> describe it:

(procedure-body procedure <proc>)
returns the body of procedure <proc>. If procedure <proc> is not a closure, procedure-body returns #f.
(define (f a b) (+ a (* b 2)))
(procedure-body f) ⇒ (lambda (a b) (+ a (* b 2)))
(procedure-body car) ⇒ #f

There is no such function in SISC, correct?  Is it possible to write one?  Any pointers?

Thanks,
Turadg



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.