* ice-9/slib.scm patch
@ 2002-07-06 2:03 Clinton Ebadi
0 siblings, 0 replies; only message in thread
From: Clinton Ebadi @ 2002-07-06 2:03 UTC (permalink / raw)
The ice-9 slib module doesn't work with slib 2d4 because it doesn't define
make-exchanger. This patch adds make-exchanger to ice-9/slib.scm (on a
related note, slib appears to have had a guile.init for over a year; if it
hasn't already been done someone should probably look at guile.init and
ice-9/slib.scm and see ice-9/slib.scm needs to be updated):
*** ice-9/slib.scm.orig Fri Jul 5 21:50:30 2002
--- ice-9/slib.scm Fri Jul 5 21:54:37 2002
***************
*** 51,57 ****
scheme-implementation-type
scheme-implementation-version
make-random-state
! require)
:no-backtrace)
--- 51,58 ----
scheme-implementation-type
scheme-implementation-version
make-random-state
! require
! make-exchanger)
:no-backtrace)
***************
*** 286,288 ****
--- 287,292 ----
(set-cdr! entry path-name)
(set! *catalog*
(acons name path-name *catalog*))))))
+
+ (define (make-exchanger obj)
+ (lambda (rep) (let ((old obj)) (set! obj rep) old)))
--
http://unknownlamer.org
Facts do not cease to exist because they are ignored.
-- Aldous Huxley
Flag Burner.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-06 2:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-06 2:03 ice-9/slib.scm patch Clinton Ebadi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).