Re: [Bug-apl] Error declaring nihilic operator with index

2014-07-26 Thread Juergen Sauermann
Hi Elias, you cannot define a niladic function with axis because you could not call it. There is no reduction pattern defined for that - not in ISO and not in IBM APL2. N[X] computes N and then indexes it with X and does not call N with axis X. The other problem was a missing check for valid

[Bug-apl] Error declaring nihilic operator with index

2014-07-24 Thread Elias Mårtenson
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 param