Here's another implementation of "open with fit" which is sufficient for this case:
fitopen=:4 :0
data=.x,;y
(>data i.L:_ _1 y) { data
)
'0' fitopen '11';'111'
110
111
Note that both the implementation and the concept would have to be
refined if we wanted to deal with open in the context of mis-matched
noun ranks.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
