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

Nice concise writeup. The only important thing he missed as far as I can see is that the '..' operation can create anonymous arrays of sequences of characters too so 'a' .. 'z' gives you an array of all the letters between 'a' and 'z'.


Not as useful as 'a'..'z', but the '..' operator works on strings, also. For example, 'aa'..'zz'.




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

Search: