Compose: Difference between revisions

Jump to navigation Jump to search
335 bytes added ,  10:05, 27 April 2020
Quote from NARS manual
mNo edit summary
(Quote from NARS manual)
Line 1: Line 1:
{{Built-in|Compose|∘}} or '''Composition''' is the most common name for the [[primitive operator|primitive]] [[dyadic operator]] denoted with a [[Jot]] (<source lang=apl inline>∘</source>) introduced by [[NARS]] and included in the [[Dyalog APL]] family. On the APL Wiki, Compose is divided into its two cases, [[Beside]] when both [[operand]]s are [[function]]s, and [[Bind]] when one is a function and the other an [[array]].
{{Built-in|Compose|∘}} or '''Composition''' is the most common name for the [[primitive operator|primitive]] [[dyadic operator]] denoted with a [[Jot]] (<source lang=apl inline>∘</source>) introduced by [[NARS]] and included in the [[Dyalog APL]] family. On the APL Wiki, Compose is divided into its two cases, [[Beside]] when both [[operand]]s are [[function]]s, and [[Bind]] when one is a function and the other an [[array]].
{{quote|Composition assembles functions and arguments to form derived functions. This provides the glue with which to put together functions and arguments so that operator's arguments can be more complex than single functions.<ref>Carl M. Cheney. ''APL*PLUS Nested Arrays System'' ([[NARS]] reference manual). [[STSC]]. 1981.</ref>}}


In [[Ken Iverson]]'s designs [[Rationalized APL]], [[A Dictionary of APL]], and the [[J]] language, the composition (<source lang=apl inline>⍤</source>) or Compose (<source lang=j inline>&</source>) refers to a different kind of composition, the [[Over]] operator.
In [[Ken Iverson]]'s designs [[Rationalized APL]], [[A Dictionary of APL]], and the [[J]] language, the composition (<source lang=apl inline>⍤</source>) or Compose (<source lang=j inline>&</source>) refers to a different kind of composition, the [[Over]] operator.

Navigation menu