[Jprogramming] Adler-32
Raul Miller
rauldmiller at gmail.com
Mon Aug 25 19:15:48 UTC 2014
On Mon, Aug 25, 2014 at 2:40 PM, 'Pascal Jasmin' via Programming
<programming at jsoftware.com> wrote:
> boxscan can use any list of arguments as the x, and appends any
> shape as the y, as long x u y results in a shape "compatible with
> y" (more accurately compatible with future applications of x u
> result .
boxscan can use any list of arguments as long as they are boxed.
Assuming, of course:
boxscan=: ((&.>)/)(>@:)
To get the behavior you have describe here, I'd probably go with a
different definition. This is a bit closer:
1 :'>@:(u&.>/)@(, <)'
... but that still assumes x has been boxed already.
So perhaps:
1 :'>@:(u&.>/)@(<"_1^:(0=L.)@[,<@])'
Or, more simply, and closer to your description:
1 :'>@:(u&.>/)@(<"_1@[,<@])'
Or, at least... that is how I interpret what you are explaining to me.
Thanks,
--
Raul
More information about the Programming
mailing list