summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/tests.scm7
-rw-r--r--guix/repl.scm6
2 files changed, 5 insertions, 8 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm
index 0871b4c6f77..27cb39c2b99 100644
--- a/gnu/tests.scm
+++ b/gnu/tests.scm
@@ -87,8 +87,7 @@
87 (requirement `(udev ,@requirement)) 87 (requirement `(udev ,@requirement))
88 88
89 (modules '((ice-9 match) 89 (modules '((ice-9 match)
90 (srfi srfi-9 gnu) 90 (srfi srfi-9 gnu)))
91 (rnrs bytevectors)))
92 (start 91 (start
93 (with-imported-modules imported-modules 92 (with-imported-modules imported-modules
94 #~(lambda () 93 #~(lambda ()
@@ -98,8 +97,8 @@
98 ((_ pred rest ...) 97 ((_ pred rest ...)
99 (or (pred x) 98 (or (pred x)
100 (one-of rest ...)))))) 99 (one-of rest ...))))))
101 (one-of symbol? string? pair? null? vector? 100 (one-of symbol? string? keyword? pair? null? array?
102 bytevector? number? boolean?))) 101 number? boolean?)))
103 102
104 (match (primitive-fork) 103 (match (primitive-fork)
105 (0 104 (0
diff --git a/guix/repl.scm b/guix/repl.scm
index 5cff5c71e92..1ead18c53b3 100644
--- a/guix/repl.scm
+++ b/guix/repl.scm
@@ -17,7 +17,6 @@
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18 18
19(define-module (guix repl) 19(define-module (guix repl)
20 #:use-module (rnrs bytevectors)
21 #:use-module (ice-9 match) 20 #:use-module (ice-9 match)
22 #:export (send-repl-response 21 #:export (send-repl-response
23 machine-repl)) 22 machine-repl))
@@ -37,9 +36,8 @@
37 ((_ pred rest ...) 36 ((_ pred rest ...)
38 (or (pred x) 37 (or (pred x)
39 (one-of rest ...)))))) 38 (one-of rest ...))))))
40 (one-of symbol? string? pair? null? vector? 39 (one-of symbol? string? keyword? pair? null? array?
41 bytevector? number? boolean?))) 40 number? boolean?)))
42
43 41
44(define (send-repl-response exp output) 42(define (send-repl-response exp output)
45 "Write the response corresponding to the evaluation of EXP to PORT, an 43 "Write the response corresponding to the evaluation of EXP to PORT, an