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: 1632 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
I don't know what you guys want to do with this stream of syntax bugs
I'm feeding you. Let me know if there's an issue.
The precedence table at http://caml.inria.fr/ocaml/htmlman/manual015.html
says that functor application binds more tightly than constructor
application. In the present implementation they appear to have the
same precedence:
type x = C of int;;
type x = C of int
let f x = x + 2;;
val f : int -> int =
C f 2;;
Characters 4-5:
C f 2;;
^
Syntax error
--
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered:
The precedence table at http://caml.inria.fr/ocaml/htmlman/manual015.html
says that functor application binds more tightly than constructor
^^^^^^^ should be "function"
application.
--
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
Original bug ID: 1632
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I don't know what you guys want to do with this stream of syntax bugs
I'm feeding you. Let me know if there's an issue.
The precedence table at http://caml.inria.fr/ocaml/htmlman/manual015.html
says that functor application binds more tightly than constructor
application. In the present implementation they appear to have the
same precedence:
type x = C of int;;
type x = C of int
let f x = x + 2;;
val f : int -> int =
C f 2;;
Characters 4-5:
C f 2;;
^
Syntax error
--
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered: