Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gbear605
· 7y ago · 0 comments
What if you wanted ‘if x>2 || x < -2’?
Comments
[–]
thaumasiotes
7y ago
That's not exactly a challenge for the syntax...
if-not x[-2,2]
Just like you'd write x ∉ [-2,2] with pen and paper.
[–]
function_seven
7y ago
Not parent, but I would write
x)-2,2(
or
x![-2,2]