Beside: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Category:Primitive operators" to "Category:Primitive operatorsCategory:Composition operators") |
m (Text replacement - "http://help.dyalog.com" to "https://help.dyalog.com") |
||
Line 11: | Line 11: | ||
=== Documentation === | === Documentation === | ||
* [ | * [https://help.dyalog.com/18.0/#Language/Primitive%20Operators/Beside.htm Dyalog] | ||
{{APL built-ins}}[[Category:Primitive operators]][[Category:Composition operators]] | {{APL built-ins}}[[Category:Primitive operators]][[Category:Composition operators]] |
Revision as of 14:23, 14 July 2020
∘
|
Beside (∘
), Compose or After is a primitive operator. It shares the glyph ∘
with Bind. Called dyadically with function operands f
and g
, it uses g
monadically to pre-processes the right argument before applying f
to the given left argument and pre-processed right argument. Called monadically with operands f
and g
, it applies f
to the result of applying g
to the argument.
In usage, X f∘g Y
is equivalent to X f g Y
, and f∘g Y
is equivalent to f g Y
. Thus, beside can be defined as the dop {⍺←⊢ ⋄ ⍺ ⍺⍺ ⍵⍵ ⍵}
.
External links
Lessons
Documentation