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
Custom operators in the revised syntax
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-12 (10:23)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Custom operators in the revised syntax
If it is true that parts of the program will typically use a single
class of operator, then what about a simple syntax extension like:

  with BigInt
    let a = b + c * d in

Similar, in fact, to the very desirable "local open" feature


Richard Jones
Red Hat