aboutsummaryrefslogtreecommitdiffstats
path: root/object.scm
diff options
context:
space:
mode:
Diffstat (limited to 'object.scm')
-rwxr-xr-x[-rw-r--r--]object.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/object.scm b/object.scm
index 298baad..7edee52 100644..100755
--- a/object.scm
+++ b/object.scm
@@ -75,9 +75,7 @@
(define generic-predicate
(lambda (obj)
(if (object? obj)
- (if ((vector-ref obj 1) generic-predicate)
- #t
- #f)
+ (and ((vector-ref obj 1) generic-predicate) #t)
#f)))
generic-predicate)
;@