Just put a space between the asterisk and the parens:
# ( * );;
- : int -> int -> int = <fun>
Debo
On 5-Feb-07, at 6:58 AM, roparzhhemon wrote:
>
>
> Hello all,
>
> According to the latest (3.09) Objective Caml manual, (*) is
> the multiplication function int->int->int, just like (+) or
> (/). My toplevel begs to differ :
>
> d212-96-69-170:~ ewan$ ocaml
> Objective Caml version 3.09.3
>
> # (+);;
> - : int -> int -> int = <fun>
> # (/);;
> - : int -> int -> int = <fun>
> # (*);;
> Warning C: this is the start of a comment.
> *
>
> Is it an error in the manual, or am I using the wrong "*"
> character (or encoding ?) on my Mac ?
>
> Ewan
>
>
>
[Non-text portions of this message have been removed]
.