|
|
|
|
|
by boerseth
1145 days ago
|
|
I share your sentiments and it is incredible. To an outsider this might as well be a parody of programming blog posts. Such impenetrable syntax taken in stride: We can improve this approach by recognizing that we can handle the edge cases by using a catenation:
⍸0 1⍷0,⍵
⍸1 0⍷⍵,0
Notice immediately how much better this feels.
Ah yes, how immediate is the feeling, much better, indeed. APL is so ridiculous, you have to love it. |
|