Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ducharmdev
· 3y ago · 0 comments
Yup, you can. Also in Clojure, like this:
(< 1 2 3 4 5 6) => true
Comments
[–]
codeflo
3y ago
How do you do the (IMO common) 0 <= index < length?
[–]
unlogic
3y ago
This you can't do, unfortunately. Would have to do something stupid like `(< -1 index length)`.