Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the manual's precedence table #8083

Closed
vicuna opened this issue Mar 30, 2003 · 2 comments
Closed

Error in the manual's precedence table #8083

vicuna opened this issue Mar 30, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 30, 2003

Original bug ID: 1617
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hello.

The ocaml reference manual contains a table of the precedence levels of
different operators http://caml.inria.fr/ocaml/htmlman/manual015.html.
In the table there is an entry "not", listed as having lower precedence
than eg. the equality operators. I guess the idea is that you could say
"not a = b" without parenthesis.

Now this seems like a horribly bad idea, since "not" is an ordinary
function identifier like any other. Thankfully, judging from ocaml's
behavior and from the sources, it seems like "not" is not given any
special treatment.

So the entry in the manual's precedence table probably ought to be
removed.

Lauri Alanko
la@iki.fi

@vicuna
Copy link
Author

vicuna commented Mar 31, 2003

Comment author: administrator

Hello,

The ocaml reference manual contains a table of the precedence levels of
different operators http://caml.inria.fr/ocaml/htmlman/manual015.html.
In the table there is an entry "not", listed as having lower precedence
than eg. the equality operators.

Well spotted. I have removed it in the working version of the docs.

Thanks for your report,

-- Damien

@vicuna
Copy link
Author

vicuna commented Mar 31, 2003

Comment author: administrator

fixed by DD 2003-03-31

@vicuna vicuna closed this as completed Sep 5, 2017
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant