isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
263 stars 57 forks source link

Each-pair #130

Closed refi64 closed 9 years ago

refi64 commented 9 years ago

Each-pair is basically zip(a, a[1:]). It's a feature from K I find it very, very, very useful.

jakobkogler commented 9 years ago

This is already implemented: .:a2.

Kinda long though. Quite often vectorization is shorter: +Vata.