From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA07192; Thu, 23 Aug 2001 20:47:08 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA07195 for ; Thu, 23 Aug 2001 20:47:07 +0200 (MET DST) Received: from www.invert.com (invert.com [209.164.21.15]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f7NIl5H03442 for ; Thu, 23 Aug 2001 20:47:06 +0200 (MET DST) Received: (from miles@localhost) by www.invert.com (8.10.1/8.10.1AA) id f7NI8L906322 for caml-list@inria.fr; Thu, 23 Aug 2001 11:08:21 -0700 (PDT) (envelope-from miles) Date: Thu, 23 Aug 2001 11:08:21 -0700 From: Miles Egan To: caml-list@inria.fr Subject: [Caml-list] standard regex package Message-ID: <20010823110821.B5828@caddr.com> References: <20010823000625.B4229@aimlin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bpr@best.com on Thu, Aug 23, 2001 at 10:31:46AM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Aug 23, 2001 at 10:31:46AM -0700, Brian Rogoff wrote: > I agree that Str is suboptimal, but I think that there are also a few > other ways in which string handling could be improved, like > > (1) Very long strings (Sys.max_string_length = 16777211 on most > machines). Please don't tell me that slurping a 100M file into a > string is probably not smart, I know that, but it's a restriction > that annoys some (many?) programmers. > > (2) Wide character strings > > (3) Functional strings (and functional arrays while we're at it :) > > (4) Substrings These would all be very nice, I agree, but I also think we need something better than str and sooner than all these things could be implemented. Maybe some kind of transitional scheme would work? While were on the subject of beginner usability, it seems to me that if dynamic loading of c-libraries is still a ways off, it might be nice to build the unix module into the toplevel at install time. -- miles "We in the past evade X, where X is something which we believe to be a lion, through the act of running." - swiftrain@geocities.com ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr