Work on the 'member?' bug - (issue #8) -- which turns out to be assoc/interned.
Progress has been made, but this is not fixed.
This commit is contained in:
parent
7d0ce67373
commit
dc5cac0bd8
4 changed files with 52 additions and 10 deletions
|
|
@ -53,14 +53,14 @@ else
|
|||
fi
|
||||
|
||||
|
||||
expected='nil'(CDR )
|
||||
expected='nil'
|
||||
output=`target/psse $1 <<EOF
|
||||
(progn
|
||||
(set! nil? (lambda (o) (= (type o) "NIL ")))
|
||||
(set! member?
|
||||
(lambda
|
||||
(item collection)
|
||||
(progn (print (list "In member; collection is:" collection)) (println))
|
||||
;; (progn (print (list "In member; collection is:" collection)) (println))
|
||||
(cond
|
||||
((nil? collection) nil)
|
||||
((= item (car collection)) t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue