[Jprogramming] A fork problem

Pascal Jasmin godspiral2000 at yahoo.ca
Tue Nov 12 02:25:04 UTC 2013


I realized that I didn't need the &> so with just > :

( (3;9) I.@:e.~ {."1) > <"1 ] 4 3 $ ;/i.12

1 3

I see now why it fails with &>... rank 0

( (3;9) I.@:e.~ {."1) &:> <"1 ] 4 3 $ ;/i.12
1 3

( (3;9) I.@:e.~ {."1) @:> <"1 ] 4 3 $ ;/i.12
1 3



----- Original Message -----
From: bill lam <bbill.lam at gmail.com>
To: programming at jsoftware.com
Cc: 
Sent: Monday, November 11, 2013 8:27:03 PM
Subject: Re: [Jprogramming] A fork problem

adverb and conjunction bind to left. so you probably want

[: I. ((3;9) e.~ {.)"1 &>

try setting 9!:3[2 5 to see their difference. 



Пн, 11 ноя 2013, Pascal Jasmin писал(а):
> Here is what I want:
> 
> I. ((3;9) e.~ {.)"1 &> <"1 ] 4 3 $ ;/i.12
> 1 3
> 
> Except that I would like to put I. inside the fork as so (so that I may extend fork to left) :
> 
> ((3;9) I.@:e.~ {.)"1 &> <"1 ] 4 3 $ ;/i.12
> 0
> 0
> 
> 0
> 
> 0
> 
> 
> Shouldn't the above 2 lines be equivalent?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm 


More information about the Programming mailing list