- heap-member? heap datumprocedure
Is this datum a member in the heap?
- heap
- The heap in which to check
- datum
- The datum to check for
(define (heap-member? heap datum) (and (heap-index heap datum) #t))
Is this datum a member in the heap?
(define (heap-member? heap datum) (and (heap-index heap datum) #t))