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: 6844 Reporter: furuse Assigned to:@gasche Status: closed (set by @xavierleroy on 2016-12-07T10:48:58Z) Resolution: fixed Priority: normal Severity: major Version: 4.02.1 Category: documentation
Original bug ID: 6844
Reporter: furuse
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2016-12-07T10:48:58Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 4.02.1
Category: documentation
Bug description
As indicated in http://stackoverflow.com/questions/29788717/ocaml-when-guard-in-fun , the refman's BNF (http://caml.inria.fr/pub/docs/manual-ocaml/expr.html) says fun can take a guard:
| fun multiple-matching
multiple-matching ::= { parameter }+ [when expr] -> expr
but it does not.
The section "Guards in pattern-matchings" also states fun can take a guard.
The text was updated successfully, but these errors were encountered: