With a niladic function n , the function is evaluated by entering its name: n or n+3 or 2*n . With a constant function n1, an argument must be supplied even though the argument is ignored: n1 '' or 3 n1 4 .
----- Original Message ----- From: ramacd <[EMAIL PROTECTED]> Date: Wednesday, March 7, 2007 9:12 am Subject: Re: [Jprogramming] FizzBuzz > Hello Roger; > > You say rigour, I say rigor. The misnaming of n"_ as a niladic > function is, > of course, wrong, not the least for the improper use of "function" > insteadof "verb." I'm okay with the quasi-equivalence of "niladic > function" and > "constant verb of infinite rank" ----- Original Message ----- From: "Roger Hui" <[EMAIL PROTECTED]> To: "Programming forum" <[email protected]> Sent: Wednesday, March 07, 2007 12:52 PM Subject: Re: [Jprogramming] FizzBuzz > There are no "niladic functions" in J. n v1 v2 > is interpreted to mean n"_ v1 v2 where n"_ is > a constant function with unbounded ranks whose > value is n . This is documented in Section II f > of the dictionary. > > http://www.jsoftware.com/help/dictionary/dictf.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
