Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
non-symbol infix functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-10-18 (13:33)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: non-symbol infix functions
> >But, no, you can ``do it internally'', if you wanted to write the
> >corresponding Caml code. 
> Right, I meant for an arbitrary identifier.
> Anyway, is there a rationale for this?  Was it just not worth the
> effort, or did it lead to ambiguities or something?
> Chris

Problem is that the parsing of the language becomes highly context
dependant, since interpretation of expression depends on the infix
declaration context. This is rather unfortunate when you want to have
separate compilation.

Now we may have decided to remove all the infix alphanumeric
identifiers, but we failed to find good infix symbols for all the

Best regards,

Pierre Weis

INRIA, Projet Cristal,,