Among my favorites is filter, a.k.a. copy-where. It's any hook where the left tine is Reflexive Copy and the right is a qualifying boolean test. There are many examples at jsoftware.com
retain_odd =: #~ 2&| -- T On Jul 16, 2014 4:26 PM, "'Dan Baronet' via Programming" < programm...@jsoftware.com> wrote: > I am looking for good examples of use of trains. > Apart from the classic +/ % #, I can't think of many more. > Anyone with some examples? They can be of any length. > /Dan > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm