Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You will lose an important disk file.


devel / comp.lang.apl / Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

SubjectAuthor
* Why in APL there is different behaviour of ,{dieresis} for differents types?Rosario19
`* Why in APL there is different behaviour of ,{dieresis} forBob Smith
 `* Why in APL there is different behaviour of ,{dieresis} for differents types?Rosario19
  +* Why in APL there is different behaviour of ,{dieresis} for differents types?Rosario19
  |`- Why in APL there is different behaviour of ,{dieresis} for differents types?Rosario19
  `- Why in APL there is different behaviour of ,{dieresis} forBob Smith

1
Why in APL there is different behaviour of ,{dieresis} for differents types?

<6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=382&group=comp.lang.apl#382

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ros@invalid.invalid (Rosario19)
Newsgroups: comp.lang.apl
Subject: Why in APL there is different behaviour of ,{dieresis} for differents types?
Date: Wed, 15 Nov 2023 14:43:36 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b68fbf046b68b4fe82f900f4ae35ff2f";
logging-data="1861602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fHH8j/Fx/ytFXnR4IYreVOiXJiZc5SPE="
Cancel-Lock: sha1:iidV8GBdGQgFioL/aLRKXXweW/w=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Rosario19 - Wed, 15 Nov 2023 13:43 UTC

Why ",{dieresis}" has a different behaviour in 1,{dieresis}1 2 3 4 and
b,{dieresis}a?
a{leftarrow}(1 2)(2 3)(4 5)(6 7)
o{leftarrow}{quad}fmt
o a
+4--------------------------+
¦+2---+ +2---+ +2---+ +2---+¦
¦¦ 1 2¦ ¦ 2 3¦ ¦ 4 5¦ ¦ 6 7¦¦
¦+~---+ +~---+ +~---+ +~---+2
+?--------------------------+
b{leftarrow}(0 0)
o b
+2---+
¦ 0 0¦
+~---+
o b,{dieresis}a
LENGTH ERROR
o b,{dieresis}a
?
o 1 2 3 4
+4-------+
¦ 1 2 3 4¦
+~-------+
o 1
1 ~
o 1,{dieresis}1 2 3 4
+4--------------------------+
¦+2---+ +2---+ +2---+ +2---+¦
¦¦ 1 1¦ ¦ 1 2¦ ¦ 1 3¦ ¦ 1 4¦¦
¦+~---+ +~---+ +~---+ +~---+2
+?--------------------------+

Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

<655678a6$0$715$14726298@news.sunsite.dk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=389&group=comp.lang.apl#389

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 16 Nov 2023 15:16:37 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Why in APL there is different behaviour of ,{dieresis} for
differents types?
Content-Language: en-US
Newsgroups: comp.lang.apl
References: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com>
From: bsmith@sudleydeplacespam.com (Bob Smith)
In-Reply-To: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 73
Message-ID: <655678a6$0$715$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 5e71a4cc.news.sunsite.dk
X-Trace: 1700165798 news.sunsite.dk 715 bsmith@sudleyplace.com/73.132.87.70:50297
X-Complaints-To: staff@sunsite.dk
 by: Bob Smith - Thu, 16 Nov 2023 20:16 UTC

On 11/15/2023 8:43 AM, Rosario19 wrote:
>
> Why ",{dieresis}" has a different behaviour in 1,{dieresis}1 2 3 4 and
> b,{dieresis}a?
> a{leftarrow}(1 2)(2 3)(4 5)(6 7)
> o{leftarrow}{quad}fmt
> o a
> +4--------------------------+
> ¦+2---+ +2---+ +2---+ +2---+¦
> ¦¦ 1 2¦ ¦ 2 3¦ ¦ 4 5¦ ¦ 6 7¦¦
> ¦+~---+ +~---+ +~---+ +~---+2
> +?--------------------------+
> b{leftarrow}(0 0)
> o b
> +2---+
> ¦ 0 0¦
> +~---+
> o b,{dieresis}a
> LENGTH ERROR
> o b,{dieresis}a
> ?

This expression produces an error because b is a two-element vector and
a is a four-element vector, and are of incompatible lengths for ,¨ .
When you specified the elements of a, you enclosed each element in
parens which works only when there are two or more elements. When you
specified b as in b←(0 0), the parens don't enclose the value. Perhaps
what you meant is to use the enclose function explicitly as in b←⊂0 0. Now

b,¨a
┌4──────────────────────────────────────────┐
│┌4───────┐ ┌4───────┐ ┌4───────┐ ┌4───────┐│
││ 0 0 1 2│ │ 0 0 2 3│ │ 0 0 4 5│ │ 0 0 6 7││
│└~───────┘ └~───────┘ └~───────┘ └~───────┘2
└∊──────────────────────────────────────────┘

> o 1 2 3 4
> +4-------+
> ¦ 1 2 3 4¦
> +~-------+
> o 1
> 1
> ~
> o 1,{dieresis}1 2 3 4
> +4--------------------------+
> ¦+2---+ +2---+ +2---+ +2---+¦
> ¦¦ 1 1¦ ¦ 1 2¦ ¦ 1 3¦ ¦ 1 4¦¦
> ¦+~---+ +~---+ +~---+ +~---+2
> +?--------------------------+

In this case, the scalar left argument to ,¨ extends to catenate the
scalar to each element in the right arg, as in

1,¨1 2 3 4
┌4──────────────────────────┐
│┌2───┐ ┌2───┐ ┌2───┐ ┌2───┐│
││ 1 1│ │ 1 2│ │ 1 3│ │ 1 4││
│└~───┘ └~───┘ └~───┘ └~───┘2
└∊──────────────────────────┘

The most recent beta version of NARS2000.org supports )BOX ON to produce
the boxed displays seen above.

BTW, if you set your email client to encode the text as UTF-8, then you
can copy text directly from your APL program into an email msg, as I did
above.

--
_________________________________________
Bob Smith -- bsmith@sudleydeplacespam.com
http://www.sudleyplace.com - http://www.nars2000.org

To reply to me directly, delete "despam".

Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

<ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=391&group=comp.lang.apl#391

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ros@invalid.invalid (Rosario19)
Newsgroups: comp.lang.apl
Subject: Re: Why in APL there is different behaviour of ,{dieresis} for differents types?
Date: Fri, 17 Nov 2023 09:49:41 +0100
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com>
References: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com> <655678a6$0$715$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="405fef062b72debfcb24869e767534e1";
logging-data="2883539"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mEnp3VhI1Hi5X3Y3eCkP+EiW1voRhgvU="
Cancel-Lock: sha1:v6w+HA64W7dsgSTp74Ssq0805wI=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Rosario19 - Fri, 17 Nov 2023 08:49 UTC

On Thu, 16 Nov 2023 15:16:37 -0500, Bob Smith
<bsmith@sudleydeplacespam.com> wrote:

>On 11/15/2023 8:43 AM, Rosario19 wrote:
>>
>> Why ",{dieresis}" has a different behaviour in 1,{dieresis}1 2 3 4 and
>> b,{dieresis}a?
>> a{leftarrow}(1 2)(2 3)(4 5)(6 7)
>> o{leftarrow}{quad}fmt
>> o a
>> +4--------------------------+
>> ¦+2---+ +2---+ +2---+ +2---+¦
>> ¦¦ 1 2¦ ¦ 2 3¦ ¦ 4 5¦ ¦ 6 7¦¦
>> ¦+~---+ +~---+ +~---+ +~---+2
>> +?--------------------------+
>> b{leftarrow}(0 0)
>> o b
>> +2---+
>> ¦ 0 0¦
>> +~---+
>> o b,{dieresis}a
>> LENGTH ERROR
>> o b,{dieresis}a
>> ?
>
>This expression produces an error because b is a two-element vector and
>a is a four-element vector, and are of incompatible lengths for ,¨ .
>When you specified the elements of a, you enclosed each element in
>parens which works only when there are two or more elements. When you
>specified b as in b?(0 0), the parens don't enclose the value.

enclose for me means that operator depth here {equalunderbar} return
great than 0

{equalunderbar}1 2{cr}{lf}
1{cr}{lf}
{equalunderbar}1{cr}{lf}
0{cr}{lf}

>Perhaps
>what you meant is to use the enclose function explicitly as in b??0 0. Now
>
> b,¨a
>?4???????????????????????????????????????????
>??4???????? ?4???????? ?4???????? ?4?????????
>?? 0 0 1 2? ? 0 0 2 3? ? 0 0 4 5? ? 0 0 6 7??
>??~???????? ?~???????? ?~???????? ?~????????2
>?????????????????????????????????????????????
>
>> o 1 2 3 4
>> +4-------+
>> ¦ 1 2 3 4¦
>> +~-------+
>> o 1
>> 1
>> ~
>> o 1,{dieresis}1 2 3 4
>> +4--------------------------+
>> ¦+2---+ +2---+ +2---+ +2---+¦
>> ¦¦ 1 1¦ ¦ 1 2¦ ¦ 1 3¦ ¦ 1 4¦¦
>> ¦+~---+ +~---+ +~---+ +~---+2
>> +?--------------------------+
>
>In this case, the scalar left argument to ,¨ extends to catenate the
>scalar to each element in the right arg, as in
>
> 1,¨1 2 3 4
>?4???????????????????????????
>??2???? ?2???? ?2???? ?2?????
>?? 1 1? ? 1 2? ? 1 3? ? 1 4??
>??~???? ?~???? ?~???? ?~????2
>?????????????????????????????
>
>The most recent beta version of NARS2000.org supports )BOX ON to produce
>the boxed displays seen above.

yes i know that

>BTW, if you set your email client to encode the text as UTF-8, then you
>can copy text directly from your APL program into an email msg, as I did
>above.

Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

<jdaeli10lk8dmkg0aoqnqpp7lg2vrtkgh7@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=392&group=comp.lang.apl#392

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ros@invalid.invalid (Rosario19)
Newsgroups: comp.lang.apl
Subject: Re: Why in APL there is different behaviour of ,{dieresis} for differents types?
Date: Fri, 17 Nov 2023 09:55:17 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <jdaeli10lk8dmkg0aoqnqpp7lg2vrtkgh7@4ax.com>
References: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com> <655678a6$0$715$14726298@news.sunsite.dk> <ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="405fef062b72debfcb24869e767534e1";
logging-data="2885176"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sJIlGkmhBHM+bcNiUlwoJUi5Edhl55/s="
Cancel-Lock: sha1:ABRWt2eNfp1wgl677WeIivcoKSQ=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Rosario19 - Fri, 17 Nov 2023 08:55 UTC

On Fri, 17 Nov 2023 09:49:41 +0100, Rosario19 <Ros@invalid.invalid>
wrote:

>On Thu, 16 Nov 2023 15:16:37 -0500, Bob Smith wrote:
>>The most recent beta version of NARS2000.org supports )BOX ON to produce
>>the boxed displays seen above.
>
>yes i know that

above is wrong i did not know that, i would think the speech was for
fmt

so ok )BOX ON is fmt for all input

>>BTW, if you set your email client to encode the text as UTF-8, then you
>>can copy text directly from your APL program into an email msg, as I did
>>above.

Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

<i2beli519beb7knhorfqda1lfohkrrgbu2@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=393&group=comp.lang.apl#393

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ros@invalid.invalid (Rosario19)
Newsgroups: comp.lang.apl
Subject: Re: Why in APL there is different behaviour of ,{dieresis} for differents types?
Date: Fri, 17 Nov 2023 10:03:58 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <i2beli519beb7knhorfqda1lfohkrrgbu2@4ax.com>
References: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com> <655678a6$0$715$14726298@news.sunsite.dk> <ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com> <jdaeli10lk8dmkg0aoqnqpp7lg2vrtkgh7@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="405fef062b72debfcb24869e767534e1";
logging-data="2887590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tl/DX4HPb/v3n/XK73dO6EfUUx9pOCeE="
Cancel-Lock: sha1:tRcHCjGDdo+W6QpHj9x5J7W2Gpg=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Rosario19 - Fri, 17 Nov 2023 09:03 UTC

On Fri, 17 Nov 2023 09:55:17 +0100, Rosario19 <Ros@invalid.invalid>
wrote:

>On Fri, 17 Nov 2023 09:49:41 +0100, Rosario19 <Ros@invalid.invalid>
>wrote:
>
>>On Thu, 16 Nov 2023 15:16:37 -0500, Bob Smith wrote:
>>>The most recent beta version of NARS2000.org supports )BOX ON to produce
>>>the boxed displays seen above.
>>
>>yes i know that
>
>above is wrong i did not know that, i would think the speech was for
>fmt
>
>so ok )BOX ON is fmt for all input
>
>
>>>BTW, if you set your email client to encode the text as UTF-8, then you
>>>can copy text directly from your APL program into an email msg, as I did
>>>above.

thank you

Re: Why in APL there is different behaviour of ,{dieresis} for differents types?

<655bb590$0$715$14726298@news.sunsite.dk>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=402&group=comp.lang.apl#402

  copy link   Newsgroups: comp.lang.apl
Path: i2pn2.org!i2pn.org!news.hispagatos.org!news.nntp4.net!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Mon, 20 Nov 2023 14:37:51 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Why in APL there is different behaviour of ,{dieresis} for
differents types?
Content-Language: en-US
Newsgroups: comp.lang.apl
References: <6li9lit4c0q7l97feqrsdfs7ok11pckg5s@4ax.com>
<655678a6$0$715$14726298@news.sunsite.dk>
<ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com>
From: bsmith@sudleydeplacespam.com (Bob Smith)
In-Reply-To: <ur9eli9tnqeunt4f6ht53qgjkkbcul1b4e@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 57
Message-ID: <655bb590$0$715$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 1ec20957.news.sunsite.dk
X-Trace: 1700509072 news.sunsite.dk 715 bsmith@sudleyplace.com/73.132.87.70:50297
X-Complaints-To: staff@sunsite.dk
 by: Bob Smith - Mon, 20 Nov 2023 19:37 UTC

On 11/17/2023 3:49 AM, Rosario19 wrote:
> On Thu, 16 Nov 2023 15:16:37 -0500, Bob Smith
> <bsmith@sudleydeplacespam.com> wrote:
>
>> On 11/15/2023 8:43 AM, Rosario19 wrote:
>>>
>>> Why ",{dieresis}" has a different behaviour in 1,{dieresis}1 2 3 4 and
>>> b,{dieresis}a?
>>> a{leftarrow}(1 2)(2 3)(4 5)(6 7)
>>> o{leftarrow}{quad}fmt
>>> o a
>>> +4--------------------------+
>>> ¦+2---+ +2---+ +2---+ +2---+¦
>>> ¦¦ 1 2¦ ¦ 2 3¦ ¦ 4 5¦ ¦ 6 7¦¦
>>> ¦+~---+ +~---+ +~---+ +~---+2
>>> +?--------------------------+
>>> b{leftarrow}(0 0)
>>> o b
>>> +2---+
>>> ¦ 0 0¦
>>> +~---+
>>> o b,{dieresis}a
>>> LENGTH ERROR
>>> o b,{dieresis}a
>>> ?
>>
>> This expression produces an error because b is a two-element vector and
>> a is a four-element vector, and are of incompatible lengths for ,¨ .
>> When you specified the elements of a, you enclosed each element in
>> parens which works only when there are two or more elements. When you
>> specified b as in b?(0 0), the parens don't enclose the value.
>
> enclose for me means that operator depth here {equalunderbar} return
> great than 0
>
> {equalunderbar}1 2{cr}{lf}
> 1{cr}{lf}
> {equalunderbar}1{cr}{lf}
> 0{cr}{lf}

That's correct, except for simple scalars where the depth remains at 0.

≡1
0 ≡⊂1
0 ≡1 2
1 ≡⊂1 2
2

--
_________________________________________
Bob Smith -- bsmith@sudleydeplacespam.com
http://www.sudleyplace.com - http://www.nars2000.org

To reply to me directly, delete "despam".

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor