Cleanup Issue MAKE-STRING-FILL-POINTER
- Status
- withdrawn by consensus Mar 89 meeting
- Category
- ADDITION
- References
- CLtL p.302
- Related issues
none, that, I, know, of
Problem Description
Once again I lost because I expected to be able to use MAKE-STRING to create a string with a fill-pointer, and I couldn't. I had to use a more long-winded MAKE-ARRAY call instead.Proposal (ALLOW)
Give MAKE-STRING a :FILL-POINTER argument, with the same syntax and semantics as the :FILL-POINTER argument to MAKE-ARRAY.Examples
(make-string 80 :fill-pointer 0)Test Cases
See examples.Rationale
I frequently expect it to be allowed and am surprised when it's not.Current Practice
I know of no implementations that support this.Cost to Implementors
5 cents.Cost to Users
noneCost of Non-Adoption
none
noneBenefits
Increased language consistency.Aesthetics
Increased language consistency.Discussion
Other MAKE-ARRAY options that one might want to allow, but are not already allowed or proposed, are :INITIAL-CONTENTS, :ADJUSTABLE, :DISPLACED-TO, and :DISPLACED-INDEX-OFFSET. A strong case could be made for :ADJUSTABLE (I use an implementation where it doesn't matter, so I don't care about that), I don't think anyone would care about the other three.Edit History
- Version 1, 20-Oct-88, by Moon, for discussion