projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d6363
)
Added FORM/EXACT-INTEGER?
author
Stephen Adams
<edu/mit/csail/zurich/adams>
Fri, 8 Sep 1995 00:56:01 +0000
(
00:56
+0000)
committer
Stephen Adams
<edu/mit/csail/zurich/adams>
Fri, 8 Sep 1995 00:56:01 +0000
(
00:56
+0000)
v8/src/compiler/midend/utils.scm
patch
|
blob
|
history
diff --git
a/v8/src/compiler/midend/utils.scm
b/v8/src/compiler/midend/utils.scm
index 6eb66eabdd152cc0d5ad6650dc2ff354da7c5050..1f25f0f550aa16bae6538f42be9f6edb6d7c25ee 100644
(file)
--- a/
v8/src/compiler/midend/utils.scm
+++ b/
v8/src/compiler/midend/utils.scm
@@
-1,6
+1,6
@@
#| -*-Scheme-*-
-$Id: utils.scm,v 1.
29 1995/09/05 19:08:20
adams Exp $
+$Id: utils.scm,v 1.
30 1995/09/08 00:56:01
adams Exp $
Copyright (c) 1994-1995 Massachusetts Institute of Technology
@@
-632,6
+632,11
@@
Example use of FORM/COPY-TRANSFORMING:
(and (QUOTE/? form)
(number? (quote/text form))
(quote/text form)))
+
+(define (form/exact-integer? form)
+ (and (QUOTE/? form)
+ (exact-integer? (quote/text form))
+ (quote/text form)))
\f
(define (binding-context-type keyword context bindings)
(if (or (eq? keyword 'LETREC)