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

Ref manual 3.06/3.07beta1 editorial comments #8217

Closed
vicuna opened this issue Jul 23, 2003 · 1 comment
Closed

Ref manual 3.06/3.07beta1 editorial comments #8217

vicuna opened this issue Jul 23, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 23, 2003

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

Bug description

Two minor editorial comments on chapter 6.3 of the documentation:

  • (only in 3.06) "These nine name spaces...": there are actually eleven
    name spaces in the list. Changed in 3.07beta1, but not on the 3.06
    documentation currently online.

  • "Referring to named objects" subsection. (3.06 and 3.07beta1)

The BNF states:

"value-path ::= value-name
| value-path '.' lowercase-ident"

Although it is equivalent, wouldn't it be more consistent to use the
following?

"value-path ::= value-name
| value-path '.' value-name"

==> In section "Referring to named objects", I would suggest for consistency
to not refer to ident, capitalized-ident or lowercase-ident directly, but
rather use the BNF binding from the previous subsection ("naming objects").

The whole transformation of the "Referring to named objects" syntax would
give:

"
value-path ::= value-name
| module-path '.' value-name
cconstr ::= cconstr-name
| module-path '.' cconstr-name
ncconstr ::= ncconstr-name
| module-path '.' ncconstr-name
typeconstr ::= typeconstr-name
| extended-module-path '.' typeconstr-name
field ::= field-name
| module-path '.' field-name
module-path ::= module-name
| module-path '.' module-name
extended-module-path ::= module-name
| extended-module-path '.' module-name
| extended-module-path '(' extended-module-path ')'
modtype-path ::= modtype-name
| extended-module-path '.' modtype-name
class-path ::= class-name
| module-path '.' class-name
"

BR,
BdB

@vicuna
Copy link
Author

vicuna commented Aug 20, 2003

Comment author: administrator

Fixed 2003-08-20 by XL

@vicuna vicuna closed this as completed Aug 20, 2003
@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