Direct function: Difference between revisions

Content deleted Content added
Roger Hui (talk | contribs)
Dfns versus tradfns: added statement that dfn and tradfn may call each other
Roger Hui (talk | contribs)
Dfns versus tradfns: defined as well as called
Line 443:
* A dfn returns on a line not ending in assignment or after the last line; a tradfn returns on {{code|→|apl}} (goto) line 0 or a non-existing line, or on evaluating a {{code|:Return|apl}} control structure, or after the last line.
* The simpler flow control in a dfn makes it easier to detect and implement [[Tail call|tail recursion]] than in a tradfn.
* A dfn may call a tradfn and ''vice versa''; a dfn may be defined in a tradfn, and ''vice versa''.
 
A dfn may call a tradfn, and ''vice versa''.
 
== History ==