1
Fork 0
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:
Ludovic Courtès 2009-11-07 19:24:49 +01:00
parent cdd73a8d69
commit 5658035c9c
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
;;; 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
;;;; modify it under the terms of the GNU Lesser General Public
@ -159,7 +159,7 @@
(define guile:eval eval)
(define eval
(if (= (car (procedure-property guile:eval 'arity)) 1)
(lambda (x e) (guile:eval x))
(lambda (x e) (guile:eval x e))
guile:eval))
(define object->string

View file

@ -270,7 +270,7 @@
(display "(list->uniform-array " file)
(display (array-rank o) file)
(display " '() " file)
(write-array "(list " o file env)))))
(write-array "(list " o #f file env)))))
;;;
;;; Pairs

View file

@ -1224,7 +1224,7 @@
((#\7) 7)
((#\8) 8)
((#\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)))))
;; read an integer upto n characters long on port; upto -> #f is any length