Fill occurs after the verb failed. Makes good sense.
I just now read the DOJ, which will need change:
http://www.jsoftware.com/docs/help701/dictionary/d321.htm
"The fit conjunction(,.!.f)provides fill specified by the atomf."
2 3(,.!._)5 6 7
|length error
| 2 3 (,.!._)5 6 7
Date: Wed, 28 Aug 2013 22:49:40 -0400 From: Raul Miller
<[email protected]> To: Chat forum <[email protected]> Subject: Re:
[Jchat] stitch fill Message-ID:
<CAD2jOU8NvF3_eT1jw=QkUuyvGAic4RFGuc+SoGY=ctam4w+...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8 On Wed, Aug 28, 2013 at 9:44 PM,
David Lambert <[email protected]> wrote:
What, please, is the reasoning for stitch not using the fill?
2 3,.5 6 7
|length error
| 2 3 ,.5 6 7
2 3|:@:,:5 6 7
2 5
3 6
0 7
As you have shown, the fill is easy enough to achieve. So there -
since we have similar operations we might as well be some differences
between them.
That said, note that the padding computational model can be described like this:
1) break the arguments into cells
2) apply verb to the relevant cells
3) assemble the result into a an array, padding if necessary
The length error, here, happens at "step" 2.
Does that help?
Thanks,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm