News for hackers. Stuff that matters.
Re:Playing with Syntax by 918723192 on Saturday August 20, 2016 @03:15PM (#12327937)
a, b, c is a tuple. Parentheses can be omitted, same as in some ML dialects:

  # let a, b, c = 10, 11, 22;;
  val a : int = 10
  val b : int = 11
  val c : int = 22

  # a, b, c;;
  - : int * int * int = (10, 11, 22)
  # (a, b, c);;
  - : int * int * int = (10, 11, 22)

There are no comments on this comment yet.