Use case: u&.cd invokes u in some directory, then cd^:_1 restores the working directory. cd is a method in another locale that stores the current directory before the change. coinsert doesn't provide the desired encapsulation. What, please, is the solution?
coclass'co' a=:3 :'FIELD=: y' b=:3 :'FIELD' f=: a :. b f. coclass'base' o=:conew'co' ([: echo 'invoked u'"_)&.f__o 98732459 invoked u |noun result was required | FIELD b__o'' 98732459 coinsert'co' ([: echo 'invoked u'"_)&.f < 245 invoked u +---+ |245| +---+ FIELD=: 'and stream' ([: echo 'invoked u'"_)&.f < 245 invoked u +---+ |245| +---+ FIELD +---+ |245| +---+ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
