diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
commit | a69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch) | |
tree | f0bc974f8805049e6b9a4e6864886298fbaa05a4 /object.scm | |
parent | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff) | |
download | slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.tar.gz slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.zip |
New upstream version 3b5upstream/3b5upstream
Diffstat (limited to 'object.scm')
-rwxr-xr-x[-rw-r--r--] | object.scm | 4 |
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) ;@ |