chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] substring function and bounds checks


From: John Cowan
Subject: Re: [Chicken-hackers] substring function and bounds checks
Date: Wed, 6 Feb 2013 14:05:42 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

Michele La Monaca scripsit:

> Regarding the practical aspects of the issue, I hope you might agree
> with me that substring2 if far superior to substring1. 

All you're arguing now is that it's substring2 that deserves the name
"substring", since the slice function already does what you want.
That's plain silly.  Go ahead and use slice if you think it's more
practical.

> give you a sense of the inadequacy of the substring function currently
> shipped with chicken.

It's inadequate to your purposes, but it's adequate to other people's
purposes, and vice versa for the function you want.

-- 
Take two turkeys, one goose, four               John Cowan
cabbages, but no duck, and mix them             http://www.ccil.org/~cowan
together. After one taste, you'll duck          address@hidden
soup the rest of your life.
        --Groucho



reply via email to

[Prev in Thread] Current Thread [Next in Thread]