Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!rutgers!aramis.rutgers.edu!planchet.rutgers.edu!josh From: josh@planchet.rutgers.edu (J Storrs Hall) Newsgroups: comp.lang.apl Subject: a new dimension Message-ID: Date: 20 Sep 90 06:36:51 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 24 In J, function rank seems to be set to 0 when functions are composed even though it was originally something else, e.g. (5&{.)&(5&*) i.10 gives the same result as (5&{.)"0 (5&*) i.10 and NOT the same as (5&{.) (5&*) i.10 as one would expect. Is this a bug or a feature (or an implementation limitation)? --JoSH ps-- the third line is equivalent to 5{.5*i.10 giving 0 5 10 15 20 as expected, but the first two yield 0 0 0 0 0 5 0 0 0 0 10 0 0 0 0 15 0 0 0 0 20 0 0 0 0 25 0 0 0 0 30 0 0 0 0 35 0 0 0 0 40 0 0 0 0 45 0 0 0 0