2,951
edits
m (Text replacement - "Direct definition (Iverson)" to "Direct definition (notation)") |
m (Text replacement - "direct definition (NARS)" to "direct definition (operator)") |
||
Line 18: | Line 18: | ||
In the 1990s array language designers began experimenting with forms that allowed a function to be created without ever giving it a name, often influenced by [[wikipedia:Lisp (programming language)|Lisp]]'s lambda expressions. Such anonymous forms appeared in several languages, including an early but less influential form in [[NARS]]: | In the 1990s array language designers began experimenting with forms that allowed a function to be created without ever giving it a name, often influenced by [[wikipedia:Lisp (programming language)|Lisp]]'s lambda expressions. Such anonymous forms appeared in several languages, including an early but less influential form in [[NARS]]: | ||
* 1981: [[NARS]] defines its own type of [[direct definition ( | * 1981: [[NARS]] defines its own type of [[direct definition (operator)|direct definition]] written with two strings joined by the operator <syntaxhighlight lang=apl inline>∇</syntaxhighlight> | ||
* 1990: [[J]] uses the <syntaxhighlight lang=j inline>:</syntaxhighlight> operator for "explicit definition"; in 2020 it adds a more [[dfn]]-like [https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition direct definition] syntax with doubled curly braces | * 1990: [[J]] uses the <syntaxhighlight lang=j inline>:</syntaxhighlight> operator for "explicit definition"; in 2020 it adds a more [[dfn]]-like [https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition direct definition] syntax with doubled curly braces | ||
* 1994: [[K]]'s functions are written with curly braces | * 1994: [[K]]'s functions are written with curly braces |