[Jprogramming] Counting occurrences in a list

David Vaughan purpleblues13 at googlemail.com
Thu Oct 13 01:55:22 HKT 2011


Can anyone help explain how this works? Specifically (#,<./)/.

   (/:~@":"0 (#,<./)/. ])3^~i.10x
1   0
1   1
1   8
1  27
1  64
2 125
1 216
1 343
1 729


More information about the Programming mailing list