[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cl.apl
From: |
Dr . Jürgen Sauermann |
Subject: |
Re: cl.apl |
Date: |
Fri, 25 Dec 2020 19:34:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hi Bill,
as to my previous email, I have checked the EACH operator again
and it seems like
my previous suspicion regarding the EACH macros was wrong.
I have created an automated testcase (see attachment) that
compares the EACH results for both
primitive dyadic functions (which use the built-in non-macro
variant of EACH)
and for defined functions (which uses one of the EACH macros that
I mentioned.
You can run the testcase it with:
apl -T Macros.tc
Every run uses different test data and it shows no differences
between the two variants. That doesn't fully prove that
there are no faults related to EACH, but if there are any then they
seem to exist in
both the build-in EACH and in the macro based EACH.
Regarding your initial problem, I share your view that the two
expressions that you mentioned
should be the same, but I can't quite see where the problem is. If
one of the expressions
does not execute (and you can't see know why) then you may want to
try ]log 25 and ]log 26 to
get more details.
Happy Xmas to you and your family,
Jürgen
On 12/23/20 4:32 PM, Bill Daly wrote:
Hi
Jürgen,
I'm sending a not-yet-ready-for-prime-time version 0-2-10 of APL
Library and version 0_2_0 of the cl workspace that was included in
version 0-2-9 of the library.
Can you look at function cl∆assign and line 5. I replaced the
phrase ' (⊂cl∆dropFlag) utl∆stringEquals ¨ toc[;1]' with
'{cl∆dropFlag utl∆stringEquals ⍵}¨ toc[;1]' so that the function
would execute.
I'm of the view that the two phrases should be equivalent.
If you find, as I have done over the past few days, that staring
at this stuff on the screen gives you a headace, could you test
the function test_data in workspace find_test_data? I wrote this
thing to find my test data on some foreign machine but have only
tested it on my own.
Thanx
w
Macros.tc
Description: Text document
- cl.apl, Bill Daly, 2020/12/23
- Re: cl.apl,
Dr . Jürgen Sauermann <=