#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/dragon4.scm,v 1.3 1990/01/15 21:27:25 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/dragon4.scm,v 1.4 1990/09/11 22:33:57 cph Exp $
Copyright (c) 1989, 1990 Massachusetts Institute of Technology
((normal) (values k r s m- m+ k round-up?))
((absolute) (cutoff-adjust cutoff))
((relative) (cutoff-adjust (+ k cutoff)))
- (else (wrong-type 'DRAGON4 cutoff-mode)))))))))))))
\ No newline at end of file
+ (else
+ (error:illegal-datum cutoff-mode 'DRAGON4)))))))))))))
\ No newline at end of file
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/numpar.scm,v 14.5 1989/10/28 06:47:35 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/numpar.scm,v 14.6 1990/09/11 22:33:26 cph Rel $
-Copyright (c) 1989 Massachusetts Institute of Technology
+Copyright (c) 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
10
(begin
(if (not (memv radix-default '(2 8 10 16)))
- (bad-range 'STRING->NUMBER radix-default))
+ (error:datum-out-of-range radix-default 'STRING->NUMBER))
radix-default))))
(with-values (lambda () (parse-prefix (string->list string)))
(lambda (chars radix-prefix exactness)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.74 1990/09/11 20:45:03 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.75 1990/09/11 22:33:37 cph Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
truncate
truncate->exact
zero?)
- (export (runtime number-parser)
- bad-range)
(initialization (initialize-package!)))
(define-package (runtime number interface)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.74 1990/09/11 20:45:03 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.75 1990/09/11 22:33:37 cph Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
truncate
truncate->exact
zero?)
- (export (runtime number-parser)
- bad-range)
(initialization (initialize-package!)))
(define-package (runtime number interface)