• Pietro Abate's avatar
    minor modification in let binding syntax · c3ff3266
    Pietro Abate authored
    - patterns used after a let binding must be enclosed in parenthesis
      consider : type t( 'a ) = [ 'a* ] ;;
      this function declaration works
        let (t(Int) & x) = [ 1 ] ;;
      while without parenthesis will raise a failure.
    c3ff3266
parser.ml 23.1 KB