In trying to fully understand how the . (period)
operator works, typed the following command and promptly crashed
GNU APL:
(10×2
3⍴⍳6){(⍺+⍵)⊣⎕←'LEFT: ⍺=',(⍕⍺),',
⍵=',(⍕⍵)}.{(⍺×⍵)⊣⎕←'RIGHT: ⍺=',(⍕⍺),', ⍵=',(⍕⍵)}(1000×2
3⍴⍳6)
LENGTH ERROR
λ1[1]
λ←(⍺×⍵)⊣⎕←'RIGHT: ⍺=',(⍕⍺),', ⍵=',(⍕⍵)
^ ^
====================================================
SEGMENTATION FAULT
----------------------------------------
-- Stack trace at
main.cc:128
----------------------------------------
0x7f26884f1b05
__libc_start_main
0x435255 main
0x52153d
Workspace::immediate_execution(bool)
0x46262d
Command::process_line()
0x461557
Command::process_line(UCS_string&)
0x44dea0
Bif_OPER2_PRODUCT::eoc_inner_product(Token&,
EOC_arg&)
0x44bda2
Bif_OPER2_PRODUCT::finish_inner_product(EOC_arg&)
0x7f268a549880
0x47931a
========================================
====================================================