Unique mask on nested arrays APL

Viewed 103

I am trying to use the new unique mask function added in Dyalog v. 18, but it seems that it doesn't work on nested arrays.

      ≠¨('aabbcc')('ddeeff')
SYNTAX ERROR: The function requires a left argument
      ≠¨('aabbcc')('ddeeff')
      ∧

I figured it would return this

┌→──────────┬───────────┐
│1 0 1 0 1 0│1 0 1 0 1 0│
└~─────────→┴~─────────→┘

but maybe I'm not understanding how it works? Thanks in advance.

1 Answers

You've found a bug. The Each operator ¨ seems to try to apply Unequal instead of Unique Mask. I've logged it as issue number 18447, and will update this post when the issue is addressed.

Edit 22 Jun 2020: This bug has now been fixed and a new interpreter can be downloaded from dyalog.com.

Related