Direct definition: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
m (Text replacement - "Direct definition (NARS)" to "Direct definition (operator)")
(Add an entry for "direct function" (dfn) since it's easily confused with "direct definition")
 
Line 3: Line 3:
* [[Direct definition (operator)]], an [[anonymous function]] produced in [[NARS]] by applying <syntaxhighlight lang=apl inline>∇</syntaxhighlight> to strings
* [[Direct definition (operator)]], an [[anonymous function]] produced in [[NARS]] by applying <syntaxhighlight lang=apl inline>∇</syntaxhighlight> to strings
* [https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition Direct Definition], a [[J]] form that simplifies explicit function syntax to define anonymous functions
* [https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition Direct Definition], a [[J]] form that simplifies explicit function syntax to define anonymous functions
* "Direct function" is one expansion of [[dfn]], an anonymous function style introduced by [[Dyalog APL]] and written with curly braces.

Latest revision as of 15:36, 8 March 2024

Direct definition may refer to any of several different function styles, which share the feature that arguments are given default names rather than having names defined in a header: