guile-devel
[Top][All Lists]
Advanced

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

Re: Problems with test-suites and modules


From: thi
Subject: Re: Problems with test-suites and modules
Date: Mon, 7 May 2001 14:55:31 -0700

   From: Martin Grabmueller <address@hidden>
   Date: Mon, 07 May 2001 23:31:06 +0200

   Is there a possibility to access the bindings in my modules instead?
   Placing the use-modules statement into the test fails, because
   use-modules is only allowed at top-level now.

you would have to manually do something like:

(define (module-peek module-name sym)
  (variable-ref (module-variable (resolve-module module-name) sym)))

(define proc (module-peek '(other module) 'proc))

thi



reply via email to

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