Opened 4 years ago

Closed 4 years ago

#1717 closed defect (fixed)

coops — slot-initialized?

Reported by: Idiomdrottning Owned by:
Priority: major Milestone: someday
Component: unknown Version: 5.2.0
Keywords: coops Cc:
Estimated difficulty:

Description

Please change the last line of slot-initialized? to match

(define (slot-initialized? obj slotname)
  (let ((i (slot-lookup obj slotname 'slot-initialized?)))
    (if i
	(not (eq? (##sys#slot (coops-instance-slots obj) i) uninitialized))
	#f)))

Change History (1)

comment:1 Changed 4 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

I added a slot-exists? primitive that returns #t/#f, slot-initialized? keeps it's current behaviour, as it is not really a predicate for slot-existence.

Note: See TracTickets for help on using tickets.