[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new slib and guile 1.6.7
From: |
Greg Troxel |
Subject: |
Re: new slib and guile 1.6.7 |
Date: |
31 Oct 2005 17:42:56 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
I got it to work, and it is non-global. As I see it, the ice-9 slib
module has a bunch of definitions, and programs that want to use them,
including require, have to use-module it. This is how it always
worked. I ended up doing it the same way, except using guile.init
instead of the homegrown copy, but still exporting.
Here's the code snippet from ice-9/slib.scm, with use of load that
respects the prefix (NetBSD/pkgsrc puts things in /usr/pkg, not /usr).
(define-module (ice-9 slib)
:export (slib:load
implementation-vicinity
library-vicinity
home-vicinity
scheme-implementation-type
scheme-implementation-version
make-random-state
<? <=? =? >? >=?
require)
:no-backtrace)
;; Load slib's init routine.
(load (string-append (assoc-ref %guile-build-info 'pkgdatadir)
"/slib/guile.init"))
--
Greg Troxel <address@hidden>
- new slib and guile 1.6.7, Greg Troxel, 2005/10/21
- Re: new slib and guile 1.6.7, Alan Grover, 2005/10/21
- Re: new slib and guile 1.6.7, Kevin Ryde, 2005/10/21
- Re: new slib and guile 1.6.7, Greg Troxel, 2005/10/28
- Re: new slib and guile 1.6.7, Kevin Ryde, 2005/10/28
- Re: new slib and guile 1.6.7, Greg Troxel, 2005/10/28
- Re: new slib and guile 1.6.7, Greg Troxel, 2005/10/29
- Re: new slib and guile 1.6.7, Kevin Ryde, 2005/10/29
- Re: new slib and guile 1.6.7, Greg Troxel, 2005/10/30
- Re: new slib and guile 1.6.7, Kevin Ryde, 2005/10/30
- Re: new slib and guile 1.6.7,
Greg Troxel <=
- Re: new slib and guile 1.6.7, Kevin Ryde, 2005/10/31