mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-30 00:40:20 +02:00
(make-exchanger): Added. Thanks to Clinton Ebadi!
This commit is contained in:
parent
a25758e7ea
commit
2536ce07ea
1 changed files with 3 additions and 0 deletions
|
@ -286,3 +286,6 @@ no other easy or unambiguous way of detecting such features."
|
|||
(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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue