[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.lines (a suggestion)
- From: Jamie Webb <j@...>
- Date: Wed, 28 Jul 2004 01:15:42 +0100
On Wed, Jul 28, 2004 at 02:32:58AM +0300, Asko Kauppi wrote:
> It's not the question it couldn't be done (I already did, with a clumsy
> for loop). It's a question on how cleanly it could be done. Sorry to
> say :) but your example looks like Perl.. (no offense)
True, but wouldn't it also be a Perlism to include such a redundant
function? Possibly string.lines has a place in stdlib, but enlarging
the built-in libraries to help a few people avoid typing a one-liner
doesn't seem right.
-- Jamie Webb