Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
e12e
on June 22, 2014
|
parent
|
context
|
favorite
| on:
Why Every Language Needs Its Underscore
Indeed:
all(a < b for a,b in zip(seq,seq[1:]))
(Although one might want <= if checking to see if the sequence is sorted, rather than strictly ascending (that is, it can contain matching/repeated elements)).
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: