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
[Caml-list] xor on booleans
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-04 (17:22)
From: Pierre Weis <pierre.weis@i...>
Subject: Re: [Caml-list] xor on booleans
> >  For type safety, it would be better to have 
> >  
> >  let (^^) (x:bool) (y:bool) = x <> y

Hem: as announced in a previous message about formats, ( ^^ ) is now
available in the current working version of Objective Caml to mean
concatenation of format strings (a long time desired feature for
format string constants).

So, please, use some other symbol for boolean xor: I would suggest <>
which is convenient and already defined in the language :)

Best regards,

Pierre Weis

INRIA, Projet Cristal,,

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: