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
Prefix operators in ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-01-21 (18:27)
From: Chris Keane <Chris.Keane@c...>
Subject: Re: Prefix operators in ocaml
>>>>> 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.


------------------------------------------------------------------- ><> ---
    Hardware Compilation Group, Oxford University Computing Laboratory,
            Wolfson Building, Parks Road, Oxford, OX1 3QD, U.K.
    tel:  +44 (1865) (2)73865      e-mail: