mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 17:20:29 +02:00
Add cond-expand-provide srfi-8, since this module provides that feature.
This commit is contained in:
parent
5a7a4c9c61
commit
44bdaf3963
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;;; SRFI-8
|
;;;; SRFI-8
|
||||||
|
|
||||||
;;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
;;; Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
|
||||||
;;;
|
;;;
|
||||||
;;; This program is free software; you can redistribute it and/or
|
;;; This program is free software; you can redistribute it and/or
|
||||||
;;; modify it under the terms of the GNU General Public License as
|
;;; modify it under the terms of the GNU General Public License as
|
||||||
|
@ -49,3 +49,5 @@
|
||||||
(define-macro (receive vars vals . body)
|
(define-macro (receive vars vals . body)
|
||||||
`(call-with-values (lambda () ,vals)
|
`(call-with-values (lambda () ,vals)
|
||||||
(lambda ,vars ,@body)))
|
(lambda ,vars ,@body)))
|
||||||
|
|
||||||
|
(cond-expand-provide (current-module) '(srfi-8))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue