[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sequence functions
- To: Guy.Steele at CMU-10A
- Subject: Sequence functions
- From: Earl A. Killian <EAK at MIT-MC>
- Date: Mon, 18 Jan 1982 03:01:00 -0000
- Cc: common-lisp at SU-AI
Using subseq instead of additional arguments is of course what
other languages do, and it is quite tasteful in those languages
because the creating a subsequence doesn't cons. In Lisp it
does, which makes a lot of difference. Unless you're willing to
GUARENTEE that the consing will be avoided, I don't think the
proposal is acceptable. Consider a TECO style buffer management
that wanted to use string-replace to copy stuff around; it'd be
terrible if it consed the stuff it wanted to move!