unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Clinton Ebadi <unknown_lamer@unknownlamer.org>
Subject: ice-9/slib.scm patch
Date: Fri, 5 Jul 2002 22:03:52 -0400	[thread overview]
Message-ID: <200207052203.52131.unknown_lamer@unknownlamer.org> (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


                 reply	other threads:[~2002-07-06  2:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207052203.52131.unknown_lamer@unknownlamer.org \
    --to=unknown_lamer@unknownlamer.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).