Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you can do this in Python


Yup, you can. Also in Clojure, like this:

(< 1 2 3 4 5 6) => true


How do you do the (IMO common) 0 <= index < length?


This you can't do, unfortunately. Would have to do something stupid like `(< -1 index length)`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: