caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Hecker <checker@d6.com>
To: Xavier Leroy <Xavier.Leroy@inria.fr>, caml-list@inria.fr
Cc: shawnw@speakeasy.org
Subject: Re: [Caml-list] Ocaml interface to ctype.h functions
Date: Tue, 05 Jun 2001 11:17:53 -0700	[thread overview]
Message-ID: <4.3.2.7.2.20010605111421.027d9870@shell16.ba.best.com> (raw)
In-Reply-To: <20010605182909.A16268@pauillac.inria.fr>


>It's mostly a matter of knowing what we want these classification
>functions to do.  Meanwhile, it might be easier to define your own
>isalpha, etc, predicates; at least you get to choose the encoding!
>Besides, it's really easy using pattern-matching, e.g. for ASCII:

But, we've got someone willing to do the work for everybody, so it seems a shame not to use it just because we can't figure out what the 100% Right Thing is.  

How about putting a nested ASCII (or ISO_Latin_1, or whatever) module inside Char, and putting the ascii specific functions in there?  That way it's clear what they're doing and what they support, and we still get to use the fruits of his free labor.  ;)

And then you can add a Unicode one, when we find somebody to do that, etc.

Chris


-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-06-05 18:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-02  6:24 Shawn Wagner
2001-06-02 13:25 ` Michael Hicks
2001-06-02 21:04   ` Shawn Wagner
     [not found]     ` <shawnw@speakeasy.org>
2001-06-05  7:35       ` Luc MAZARDO
2001-06-05 13:59         ` Shawn Wagner
2001-06-05 16:29 ` Xavier Leroy
2001-06-05 16:44   ` Sylvain Kerjean
2001-06-05 18:17   ` Chris Hecker [this message]
2001-06-11 16:00   ` Shawn Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20010605111421.027d9870@shell16.ba.best.com \
    --to=checker@d6.com \
    --cc=Xavier.Leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=shawnw@speakeasy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).