Hacker News new | ask | show | jobs
by gbear605 2751 days ago
What if you wanted ‘if x>2 || x < -2’?
2 comments

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.
Not parent, but I would write

    x)-2,2(
or

    x![-2,2]