The asymmetry between [ and ) bothers me way more than it should
-
-
-
Haskell \lambda-> and Rust |lambda| are sound unless the language is such that higher-order functions are expressed by nesting these constructs.
- 1 more reply
New conversation -
-
-
It looks like a half-open interval?? My first reaction is "too strange".
-
Agreed. Reading over writing please. Do the extra two characters really slow you down that much?
- 1 more reply
New conversation -
-
-
The unbalanced braces hurt my ability to speed read it. Too many years spent seeing balanced braces of all kinds everywhere.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Looks like a half-open range running into another expression. Mismatched bracketing chars = painful in yet-unaware editors & prettyprinters.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Brain tries to eagerly match the ) in [x,y) to the last open ( like the one in "map(" Editor tooling to jump to matching bracket will need re-work too
-
Not only brain. Syntax highlighters become quite complicated if paring is no longer possible
End of conversation
New conversation -
-
-
Low state syntax highlighters would really not like it, especially not since a 'default arg' in TS can be arbitrary expressions. Also typos that turn into lambdas and spewing errors that the writer may find hard to parse.
-
But as a general rule anything thats a consistent parse error can also be turned into syntax so i don't see why it couldn't be parsed.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.