Re: Prefix operators in ocaml

From: Chris Keane (Chris.Keane@comlab.ox.ac.uk)
Date: Thu Jan 21 1999 - 17:04:35 MET


Message-Id: <199901211604.QAA09341@msc2.comlab>
To: Eduardo Gimenez <Eduardo.Gimenez@inria.fr>
Subject: Re: Prefix operators in ocaml
Date: Thu, 21 Jan 1999 16:04:35 +0000
From: Chris Keane <Chris.Keane@comlab.ox.ac.uk>

>>>>> On Thu, 21 Jan 1999, "EG" = Eduardo Gimenez wrote:

  EG> Which is the "prefix" name in Ocaml for the multiplication on
  EG> integers? The symbols (+), (/), etc. work fine for the other
  EG> arithmetic operations, but the symbol (*) does not.

I think you're probably just finding that the (* is being treated as the
start of a comment. Put a space after the first bracket, thus: ( *), and
it should work as you require.

Chris.

------------------------------------------------------------------- ><> ---
    Hardware Compilation Group, Oxford University Computing Laboratory,
            Wolfson Building, Parks Road, Oxford, OX1 3QD, U.K.
    tel: +44 (1865) (2)73865 e-mail: Chris.Keane@comlab.ox.ac.uk
            http://www.comlab.ox.ac.uk/oucl/users/chris.keane/



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:18 MET