3 ms·
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. mat
by sizeofchar 6y 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")
- ledauphin 6y agothey discussed various options for less indentation and rejected them. this syntax is definitely out of the question.