Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • \$\begingroup\$ You can golf this significantly. First, swap the arguments of rho to remove the parentheses: {' '⍴⍨⍴,⍵}, then use tally rather than rho to remove the comma: {' '⍴⍨≢⍵}, and finally, make it into a train to remove the braces and omega: ' '⍴⍨≢. \$\endgroup\$ Commented May 25, 2017 at 14:13
  • \$\begingroup\$ No problem. I'll be happy to teach you more over in the APL chat room. \$\endgroup\$ Commented May 25, 2017 at 14:33
  • \$\begingroup\$ How is this 5 bytes? \$\endgroup\$ Commented May 26, 2017 at 13:52
  • \$\begingroup\$ @EriktheOutgolfer fixed, thanks. it counts 6 with the Dyalog char set \$\endgroup\$ Commented May 26, 2017 at 14:11
  • \$\begingroup\$ Save another byte by removing the space. \$\endgroup\$ Commented Mar 17 at 9:53