I wish to type in a multi-line array as follows:
ast ← ('∘'
('a' ('p'))
('b'
('q' ('v'))
('r'))
('c'
('s' ('w' 'x'))
('t' ('y' 'z'))))
This is correctly paranthesized, but I am unable to copy-paste it into the Dyalog APL RIDE interface. I searched around, and found two answers both of which do not help me:
- A github issue: Unable to paste any DFN from dfns website asks about pasting DFNS, which explains that one can use
∇
. When I type the∇
, the UI of the text-box changes and becomes dark gray, which is encouraging, but on typingast ← { <ENTER>
orast ← ( <ENTER>
it errors out. - This SO question on multi-line text values in APL asks how to input text. I tried to use the
{ }
method, but when I typeast ← { <ENTER>
it already errors out.
So, how does one type multiline data in APL?