caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Case insensitive in type
@ 2014-07-02  8:34 Nicolas Ratier
  2014-07-02  8:43 ` Daniel Bünzli
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Ratier @ 2014-07-02  8:34 UTC (permalink / raw)
  To: caml-list

Hello,

We use the type :

type term =
   | Term of string * term list
   | Var  of string * int
;;

I would like the string of the Term constructor not to be case sensitive,
for example, all the following terms should be the same :
Term("Plus",[...])
Term("plus",[...])
Term("PLUs",[...])

Is it possible ?
Thanks,

Nicolas






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-02  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-02  8:34 [Caml-list] Case insensitive in type Nicolas Ratier
2014-07-02  8:43 ` Daniel Bünzli
2014-07-02  9:30   ` Gabriel Kerneis
2014-07-02  9:43     ` Daniel Bünzli

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).