aboutsummaryrefslogtreecommitdiffstats
path: root/object.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
commita69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch)
treef0bc974f8805049e6b9a4e6864886298fbaa05a4 /object.scm
parent4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff)
downloadslib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.tar.gz
slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.zip
New upstream version 3b5upstream/3b5upstream
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)
;@