You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1852 Reporter: administrator Status: closed (set by @damiendoligez on 2007-12-12T14:54:09Z) Resolution: fixed Priority: normal Severity: minor Fixed in version: 3.11+dev Category: documentation
Bug description
The OCAML toplevel accepts
module X = struct 3 + 4 end;;
but the grammar at http://caml.inria.fr/ocaml/htmlman/manual019.html
says you can only have definitions inside struct...end, and bare
expressions aren't definitions. I think you should add bare
expressions as definitions to the grammar.
--
Tim Freeman tim@fungible.com
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered:
This will be fixed in 3.11, but be aware that in the grammar
readability primes over faithfulness to the implementation:
the implementation might accept more programs than are
described in the grammar.
Original bug ID: 1852
Reporter: administrator
Status: closed (set by @damiendoligez on 2007-12-12T14:54:09Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.11+dev
Category: documentation
Bug description
The OCAML toplevel accepts
module X = struct 3 + 4 end;;
but the grammar at http://caml.inria.fr/ocaml/htmlman/manual019.html
says you can only have definitions inside struct...end, and bare
expressions aren't definitions. I think you should add bare
expressions as definitions to the grammar.
--
Tim Freeman tim@fungible.com
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered: