+/`''  ( 4 : 'x ` y') %`#
┌───────┬─┬─┐
│┌─┬───┐│%│#│
││/│┌─┐││ │ │
││ ││+│││ │ │
││ │└─┘││ │ │
│└─┴───┘│ │ │
└───────┴─┴─┘

I would like to be able to define a single function (verb) that produces


   (+/`''  ( 4 : 'x ` y') %`#)`:6
+/ % #

is that possible?

my failed attempt:

g2v =: 1 : ('( u y) `:6' ;':';'(x u y) `:6 ')
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to