Cascade, why not compilable.

36 views
Skip to first unread message

linjie nie

unread,
Jul 30, 2013, 10:42:32 AM7/30/13
to lives...@googlegroups.com
[2 7 1 8]
    ..push 3
    ..shift!
    ..sort!
.length
vs.
([2 7 1 8]
  ..push 3
  ..shift!
  ..sort!)
.length


I don't understand why the first one can not compile, but the second one is fine.

Nami Doc

unread,
Jul 31, 2013, 3:18:17 PM7/31/13
to lives...@googlegroups.com
Our blocks are not dot-accessible. (might be for 1.3 tho)
Reply all
Reply to author
Forward
0 new messages