bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Error declaring nihilic operator with index


From: Elias Mårtenson
Subject: [Bug-apl] Error declaring nihilic operator with index
Date: Fri, 25 Jul 2014 13:47:01 +0800

I'm getting an error declaring a nihilic operator that has an index parameter using ⎕FX:

      ⎕FX 'Z←(OP F)[V]' "OP V"
1

When I declare it using the lambda format, the declaration works but trying to call it gives an error. Trying to call it without the index parameter (but with a normal parameter) causes a crash:

      FF ← { ⍶ χ }
      -FF[10]
SYNTAX ERROR
     -FF 10


====================================================
SEGMENTATION FAULT

----------------------------------------
-- Stack trace at main.cc:140
----------------------------------------
0xa @@@@
0xa  @@@@
0xa   @@@@
0xa    @@@@
0xa     @@@@
0xa      @@@@
0xa       @@@@
0xa        @@@@
0xa         @@@@
0xa          @@@@
0x0           @@@@
0x0            @@@@
0xa             @@@@
========================================
====================================================

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]