English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
How do you declare infix in Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-05-30 (20:35)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: How do you declare infix in Ocaml
Infixes in Ocaml are ordinary lexems: any sequence of symbols is an
infix that has the precedence of its first character.

For instance += is an infix that has the same precedence as +.

There are no other user's infixes in O'Caml.

Best regards,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/