In the expression, -:/ /:~ :/:@":&.>a,b , the phrase /:~ : /: can be
simplified to /:~ .  f : g derives a verb whose monad is f and whose
dyad is g, and so for /:~ : /: the monad is /:~ and the dyad is /: .
In the context of the expression only the monad is used.  Thus,

   -:/ /:~@":&.> a,b

What does it do?  match insert (sort@format each) a,b , that is, are
the decimal digits of a and b the same?  Another (and more direct) way
to say it is:

   a -:&(/:~@":) b

Both the original and the simplified expressions are sensitive to the
vagaries of monadic ": (sensitive to print precision, etc.).



On Thu, Oct 27, 2011 at 4:23 AM, Linda Alvord <[email protected]> wrote:
> Actually, I don't remember where I got this little treasure, but it has been
> hanging around for a number of years, and I am "housecleaning".
>
>
>
> a=: 10123
>
> b=: 32110
>
> c=: 32100
>
> -:/ /:~ :/:@":&.>a,b
>
> 1
>
> -:/ /:~ :/:@":&.>a,c
>
> 0
>
>
>
> I'm ready to take on the  :
>
>
>
> So, more later.  Linda
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to