Nest: Difference between revisions

Jump to navigation Jump to search
339 bytes added ,  05:52, 16 June 2020
no edit summary
m (Add built-in template and category)
No edit summary
Line 1: Line 1:
{{Built-in|Nest|⊆}}, or '''Enclose If Simple''', is a [[monadic]] [[primitive function]] that applies [[Enclose]] to the given [[argument]], but only if it is [[simple]]. Nest was first introduced in [[Dyalog APL]] 16.0.
{{Built-ins|Nest|⊆|⊃}}, also called '''Conditional Enclose''' or '''Enclose If Simple''', is a [[monadic]] [[primitive function]] that applies [[Enclose]] to the given [[argument]], but only if it is [[simple]]. Nest first appeared as an extension to [[SHARP APL]]<ref>[https://www.jsoftware.com/papers/satn45.htm "Language Extensions of May 1983"]. SATN-45, 1983-05-02.</ref> using the [[glyph]] <source lang=apl inline>⊃</source>, and was added to [[Dyalog APL]] 16.0 using the glyph <source lang=apl inline>⊆</source>.


== Examples ==
== Examples ==
Line 38: Line 38:


* [http://help.dyalog.com/latest/#Language/Primitive%20Functions/Nest.htm Dyalog]
* [http://help.dyalog.com/latest/#Language/Primitive%20Functions/Nest.htm Dyalog]
== References ==
<references/>


{{APL built-ins}}[[Category:Primitive functions]]
{{APL built-ins}}[[Category:Primitive functions]]
trusted
183

edits

Navigation menu