Call a function: Difference between revisions

Content added Content deleted
m (misplaced tag moved)
m (→‎{{header|J}}: typo wrt empty lists???)
Line 128: Line 128:
Thus:
Thus:


''A function that requires no arguments'' can be simulated by calling a function with empty argument list: <lang j>f''</lang> Note that an empty list of characters is the only constant in the language which is an empty list. That said, most operations in the language do not care what type of data is not present, in an array which contains nothing.
''A function that requires no arguments'' can be simulated by calling a function with empty argument list: <lang j>f''</lang> Note that an empty list of characters is not the only constant in the language which is an empty list. That said, most operations in the language do not care what type of data is not present, in an array which contains nothing.