(eq? (vector) (vector)) should evaluate to #t
Bug #179978 reported by
Abdulaziz Ghuloum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Wishlist
|
Abdulaziz Ghuloum |
Bug Description
(vector) and (string) should not allocate new data.
Also, maybe, (make-vector 0) and (make-string 0) too should not allocate.
Changed in ikarus: | |
assignee: | nobody → aghuloum |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Would that be legal for R6RS? The spec says that "vector" returns a "newly allocated vector". That makes it sound like "(vector)" could actually be a valid way to create a gensym.