Don't worry - I don't expect we will ever find a spec that will make _.
fit easily into the primitives. But it doesn't hurt to think about it.
128!:5 will also check for NaN.
Henry Rich
On 2/8/2022 3:30 PM, Clifford Reiter wrote:
I am not cheering on work on _.
but they can be found:
x=: 1 2 _. 4 5 8.8 _. _ __
x~:x
0 0 1 0 0 0 1 0 0
_. is the only number not equally to itself.
A bit of J humor
On Tue, Feb 8, 2022 at 3:23 PM Hauke Rehr <hauke.r...@uni-jena.de> wrote:
answeres below
Am 08.02.22 um 21:12 schrieb Henry Rich:
Generalities may spur the imagination, but to use _. we would need a
detailed spec for what every verb would do given indeterminate input.
Where would it appear in the collating sequence?
Collating:
maybe I’m naive but I thought it wouldn’t matter much
as long as it’s defined
for the verb spec, I thought my desription was complete
I’ll take another look
If _. doesn't match _., how would I find the number and location of _.
values in an array?
part of the i. family belongs to what I called selectors
so I don’t see a problem there (but you need to know the correct idioms)
The fact that Roger didn't find a way to integrate _. into the language
should put us all on warning that the problem is very hard.
absolutely.
Is there documentation of what thought has already gone into this?
I’m trying to figure out where those problems are I don’t see yet.
(which doesn’t tell anything about those problems but about me:
currently, I’m unable to see them)
Henry Rich
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm