Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rileyphone
· 2y ago · 0 comments
Unary operators are still operators. The integer parsing rules are probably different. In Lisp, -x would be a symbol, and the proper analog to -123 would be (- x) eg.
Comments
[–]
munificent
2y ago
I think we're in agreement. `-` and `.` are both operators and the language and user have to understand the relative precedence of them.