Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ink
on Dec 12, 2022
|
parent
|
context
|
favorite
| on:
Beyond Functional Programming: The Verse Programmi...
I believe you can do this in Python
ducharmdev
on Dec 12, 2022
[–]
Yup, you can. Also in Clojure, like this:
(< 1 2 3 4 5 6) => true
codeflo
on Dec 12, 2022
|
parent
[–]
How do you do the (IMO common) 0 <= index < length?
unlogic
on Dec 12, 2022
|
root
|
parent
[–]
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: