I am trying to use the verb `intersection` shown below as found
https://code.jsoftware.com/wiki/Vocabulary/minusdot .
But I get the following peculiar result on AOC#6 when applying it with
intersection for the following data. Am I applying these primitives
incorrectly?

   intersection
[ -. -.
   #intersection&>/(<'rcyshqp'),(<'jbdnpe'),(<'zgp'),<'pnjtz'    NB. should
be 1
2
   #intersection&>/|.(<'rcyshqp'),(<'jbdnpe'),(<'zgp'),<'pnjtz'  NB.
rotated argument produces 1 here
1
   intersection&>/|.(<'rcyshqp'),(<'jbdnpe'),(<'zgp'),<'pnjtz'  NB. no
blank lines
p
   intersection&>/(<'rcyshqp'),(<'jbdnpe'),(<'zgp'),<'pnjtz'  NB. Notice
blank lines here


p
   JVERSION
Engine: j807/j64/darwin
Release-c: commercial/2019-02-24T10:50:40
Library: 8.07.26
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/brian/j64-807
Contact: www.jsoftware.com

-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to