I see the problem.  I think there may be another problem if first < -(length s).  Is it best to fix these bugs, or change the documentation?


On 10/25/05, Brian Brunswick <brian.brunswick@gmail.com> wrote:
Hi, thanks for extlib!

ExtString.String.slice doesn't live up to its documentation of never
raising an exception. It fails to check if ~last is out of range, and
crashes in String.sub.

Is it best to report bugs here, or in the tracker?


This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
ocaml-lib-devel mailing list