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

[plt-scheme] Namespaces



Hi all,

When I try to use namespace-set-variable-binding! I get:
reference to undefined identifier:
namespace-set-variable-binding!

This function is mentioned in chapter 8 of MzScheme manual. Do I
need to require any lib?

How can I given a function retrieve its name as a symbol?
For example:
(define fib
        (lambda ... blablabla))

Now, I pass it to (foo fib)
I want foo to return fib (the symbol 'fib).

How can I do that?

Best regards,

-- 
Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
Instituto Superior Tecnico - Lisbon    
Software & Computer Engineering - A.I.
 - > http://www.rnl.ist.utl.pt/~pocm 
 ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!