> From: Dan Bron > IsSet =: (-: /:~)*.(-: ~.)*.(1 = #...@$)*.(0 < L.) > > to save yourself some characters. By the way, (1 = #@:~.) is a more > efficient way to write (-: ~.) I believe. Or was it (-: _1&|.) ? >
I think (-: ~.) checks that there are no repetitions/duplicates in the set. I don't think either of your suggestions will do the same thing. I haven't tested to see if it is more efficient but perhaps you were thinking of (i.~ -: i:~) ? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
