Note, if * is the universe of interesting functions (if it does not need to be generic) then I would be tempted to use a variation on Dan's second suggestion:
(<@}./.~ *) _1 0 1,data Note that this also preserves the relative ordering of the data items. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm