Defined function (traditional): Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Marshall moved page Defined function to Defined function (traditional): Disambiguate)
No edit summary
Line 1: Line 1:
:''This page is about the function form typically written with the Del (<source lang=apl inline>∇</source>) character. See [[dfn]] for the form written with curly braces, which is considered a type of defined function in [[Dyalog APL]] and [[GNU APL]].''
:''This page is about the function form typically written with the Del (<source lang=apl inline>∇</source>) character. See [[Function styles]] for an overview of all forms; in particular [[dfn]]s are considered a type of defined function in [[Dyalog APL]] and [[GNU APL]].''


A '''user-defined function''' (or '''tradfn''', pronounced "trad fun", for "traditional function", in [[Dyalog APL]]) is a function defined using a header that includes the function's name. Introduced in [[APL\360]], function definition was universally supported by APL dialects for much of the language's [[history]], and is still commonly used in mainstream APLs. Since the 1990s other ways to [[Function styles|describe functions]] have appeared, with [[J]] and [[K]] rejecting function definition in favor of [[anonymous function]] description.
A '''user-defined function''' (or '''tradfn''', pronounced "trad fun", for "traditional function", in [[Dyalog APL]]) is a function defined using a header that includes the function's name. Introduced in [[APL\360]], function definition was universally supported by APL dialects for much of the language's [[history]], and is still commonly used in mainstream APLs. Since the 1990s other ways to [[Function styles|describe functions]] have appeared, with [[J]] and [[K]] rejecting function definition in favor of [[anonymous function]] description.

Navigation menu