mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Fix typos leading to wrong argument counts.
* module/ice-9/channel.scm (eval): Fix number of arguments to `guile:eval'. * module/oop/goops/save.scm (write-readably): Fix number of arguments to `write-array'. * module/srfi/srfi-19.scm (priv:char->int): Fix number of arguments to `priv:time-error'.
This commit is contained in:
parent
cdd73a8d69
commit
5658035c9c
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; Guile object channel
|
;;; Guile object channel
|
||||||
|
|
||||||
;; Copyright (C) 2001, 2006 Free Software Foundation, Inc.
|
;; Copyright (C) 2001, 2006, 2009 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;;;; This library is free software; you can redistribute it and/or
|
;;;; This library is free software; you can redistribute it and/or
|
||||||
;;;; modify it under the terms of the GNU Lesser General Public
|
;;;; modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
(define guile:eval eval)
|
(define guile:eval eval)
|
||||||
(define eval
|
(define eval
|
||||||
(if (= (car (procedure-property guile:eval 'arity)) 1)
|
(if (= (car (procedure-property guile:eval 'arity)) 1)
|
||||||
(lambda (x e) (guile:eval x))
|
(lambda (x e) (guile:eval x e))
|
||||||
guile:eval))
|
guile:eval))
|
||||||
|
|
||||||
(define object->string
|
(define object->string
|
||||||
|
|
|
@ -270,7 +270,7 @@
|
||||||
(display "(list->uniform-array " file)
|
(display "(list->uniform-array " file)
|
||||||
(display (array-rank o) file)
|
(display (array-rank o) file)
|
||||||
(display " '() " file)
|
(display " '() " file)
|
||||||
(write-array "(list " o file env)))))
|
(write-array "(list " o #f file env)))))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Pairs
|
;;; Pairs
|
||||||
|
|
|
@ -1224,7 +1224,7 @@
|
||||||
((#\7) 7)
|
((#\7) 7)
|
||||||
((#\8) 8)
|
((#\8) 8)
|
||||||
((#\9) 9)
|
((#\9) 9)
|
||||||
(else (priv:time-error 'bad-date-template-string
|
(else (priv:time-error 'priv:char->int 'bad-date-template-string
|
||||||
(list "Non-integer character" ch)))))
|
(list "Non-integer character" ch)))))
|
||||||
|
|
||||||
;; read an integer upto n characters long on port; upto -> #f is any length
|
;; read an integer upto n characters long on port; upto -> #f is any length
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue