Up Arrow: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(A+)
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 1: Line 1:
{{Glyphbox|↑}}
{{Glyphbox|↑}}
The [[glyph]] '''up arrow''' (or '''pike''', in [[A Dictionary of APL]]) is an upwards pointing arrow represented by the [[Unicode]] character <code>↑</code>, "upwards arrow". The up arrow has several uses in various dialects:
The [[glyph]] '''up arrow''' (or '''pike''', in [[A Dictionary of APL]]) is an upwards pointing arrow represented by the [[Unicode]] character <code>↑</code>, "upwards arrow". The up arrow has several uses in various dialects:
* In all dialects, <source lang=apl inline>↑</source> is [[Take]] when used dyadically (except very early versions of [[APL\360]], which used it for [[Rotate]]).
* In all dialects, <source lang=apl inline>↑</syntaxhighlight> is [[Take]] when used dyadically (except very early versions of [[APL\360]], which used it for [[Rotate]]).
* In [[SHARP APL]], <source lang=apl inline>↑</source> is [[Unique|Nub]] when monadic.
* In [[SHARP APL]], <source lang=apl inline>↑</syntaxhighlight> is [[Unique|Nub]] when monadic.
* In [[APL2]], [[NARS2000]], [[GNU APL]], and [[APLX]], <source lang=apl inline>↑</source> is [[First]] when monadic.
* In [[APL2]], [[NARS2000]], [[GNU APL]], and [[APLX]], <source lang=apl inline>↑</syntaxhighlight> is [[First]] when monadic.
* In [[Dyalog APL]], [[dzaima/APL]], and [[ngn/apl]], <source lang=apl inline>↑</source> is [[Mix]] when monadic.
* In [[Dyalog APL]], [[dzaima/APL]], and [[ngn/apl]], <source lang=apl inline>↑</syntaxhighlight> is [[Mix]] when monadic.
* In [[A+]], <source lang=apl inline>↑</source> is [[Signal]], giving an error with the specified message, when monadic.
* In [[A+]], <source lang=apl inline>↑</syntaxhighlight> is [[Signal]], giving an error with the specified message, when monadic.


{{APL glyphs}}[[Category:Glyphs]]
{{APL glyphs}}[[Category:Glyphs]]

Revision as of 10:44, 11 September 2022

The glyph up arrow (or pike, in A Dictionary of APL) is an upwards pointing arrow represented by the Unicode character , "upwards arrow". The up arrow has several uses in various dialects:

  • In all dialects, <source lang=apl inline>↑</syntaxhighlight> is Take when used dyadically (except very early versions of APL\360, which used it for Rotate).
  • In SHARP APL, <source lang=apl inline>↑</syntaxhighlight> is Nub when monadic.
  • In APL2, NARS2000, GNU APL, and APLX, <source lang=apl inline>↑</syntaxhighlight> is First when monadic.
  • In Dyalog APL, dzaima/APL, and ngn/apl, <source lang=apl inline>↑</syntaxhighlight> is Mix when monadic.
  • In A+, <source lang=apl inline>↑</syntaxhighlight> is Signal, giving an error with the specified message, when monadic.


APL glyphs [edit]
Information GlyphTyping glyphs (on Linux) ∙ UnicodeFontsMnemonicsOverstrikesMigration level
Individual glyphs Jot () ∙ Right Shoe () ∙ Up Arrow () ∙ Zilde () ∙ High minus (¯) ∙ Dot (.) ∙ Del ()