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: Thu, 7 Feb 2013 13:35:41 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

Michele La Monaca scripsit:

> Well, no. I was looking for a python-like substring function. 

If that's all you really wanted, the slice egg (to which you have already
been referred; docs at <http://wiki.call-cc.org/eggref/4/slice>) does
everything you are asking for, negative and past-the-end indices and all.
It even slices lists and vectors as a bonus.  But no, what you are
showing you actually want is to complain about the meaning of the name
"substring".  That's not a discussion anyone else thinks is worth having.

-- 
You are a child of the universe no less         John Cowan
than the trees and all other acyclic            http://www.ccil.org/~cowan
graphs; you have a right to be here.            address@hidden
  --DeXiderata by Sean McGrath



reply via email to

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