Hacker News new | ask | show | jobs
by sizeofchar 1949 days ago
I hope they can avoid having two block indents, like in those examples. Match could be followed by a case in the same line, and extra cases in new lines.

  match val case True:
      print("Ok")
  case False:
      print("Not ok")
  
  print("Done")
1 comments

they discussed various options for less indentation and rejected them. this syntax is definitely out of the question.