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.            [email protected]
  --DeXiderata by Sean McGrath

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to