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

Eve doesn't have loops, because the basic unit isn't a variable but a set of variables. So a computation is applied to every element in a value.

e.g.

x = [1, 2, 3]

x + 2

// x = [3, 4, 5]

I have since learned that APL does something similar, expect their basic unit is an array.



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

Search: