Notice that in the example below, the conjunction 'def' has two arguments, a monadic left hand and a dyadic right hand. Your examples only needed the monadic.
def : /:~ def /: /:~ :/: On Sun, Jun 28, 2009 at 3:28 PM, Ian Gorse<[email protected]> wrote: > Hi list, > > I just been looking at the 'sort' verb to understand how its done. > > sort > /:~ :/: > ┌──────┬─┬──┐ > │┌──┬─┐│:│/:│ > ││/:│~││ │ │ > │└──┴─┘│ │ │ > └──────┴─┴──┘ > > I don't understand why the ':/:' is there for as > sort2=: /:~ > sort2 9 8 7 6 3 > 3 6 7 8 9 > > produces correct results on all my simple test cases. > > Thanks > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) <-----my sig Brian Schott ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
