[plt-scheme] namespace-variable-value missing?

From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu)
Date: Wed May 3 13:45:18 EDT 2006

On Wed, 3 May 2006, Paulo J. Matos wrote:

> (module test mzscheme
> (require (lib "texpict.ss" "texpict"))
> (namespace-variable-value 'ht-append))

Hi Paulo,

Odd.  I don't understand the documentation too, then --- I would have 
expected use-mapping? to let us get the imported module variable.

Here's an example that appears to get at *ht-append*:

(module test mzscheme
   (require (lib "texpict.ss" "texpict"))
   (define my-ht-append
      (lambda () #f)
      (module->namespace '(lib "texpict.ss" "texpict")))))

but I don't yet understand why your example doesn't work yet.

Best of wishes!

Posted on the users mailing list.