Version française
Home     About     Download     Resources     Contact us    
Browse thread
Correct way of programming a CGI script
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tab@s...
Subject: Re: [Caml-list] Re: Rope is the new string
On Tue, Oct 09, 2007 at 06:04:57PM -0400, Chris King wrote:
> On 10/9/07, Vincent Hanquez <tab@snarc.org> wrote:
> > i want a UTF library to be able to do something like:
> >
> > type ustring = unicode_type * string
> > of_string: string -> ustring (* raise if not unicode compliant *)
> > to_string: ustring -> string
> > append: ustring -> ustring -> ustring
> > ...etc
> 
> Have you checked out Camomile [1]?  It handles such things quite nicely.

The problem with camomile as it's actually so massive (27 modules) that
it's scary ;)

What i have in mind, in what should be the standard library, is a very
simple module that define something like 20 functions at most, to
have valid unicode strings type (of all common unicode types) and do
common operations (append, find, ...) on it.

-- 
Vincent Hanquez