guile-devel
[Top][All Lists]
Advanced

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

How can we support re-exporting across 1.3.4, 1.4, and 1.6?


From: Rob Browning
Subject: How can we support re-exporting across 1.3.4, 1.4, and 1.6?
Date: Fri, 07 Dec 2001 18:29:32 -0600
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Anyone know off the top of their heads how to re-export from each of
these versions.  i.e. I've got a module, and I want to re-export a
symbol from a sub-module:

  (define-module (foo))
  (use-modules (bar))
  (re-export bar-symbol)

I know that 1.5 supports reexporting, but what about previous
versions?  I'm not opposed to writing a guile version specific
function (or macro) like this:

  (define gnc:re-export
    (cond
      ((string=? (version) "1.3.4)
       (lambda (symbol) ...))
      ...))

We already do that for other things.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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