Am 30.06.2019 06:14 schrieb Daniel Eklund:
Thomas
I think where your error is is in step 2 to step 3. Your linear
description describes a composition of verbs that is different than the
form of the 'to' verb actually is.
It might be helpful to see the 'to' verb with a bunch of extra spaces
(this
is still syntactically correct):
to =: -.&i.~ , ]
When you see this, you should think of the concept of a fork (more
specifically a dyadic fork). See the following for an explanation:
https://www.jsoftware.com/help/learning/09.htm
Forks don't consume their inputs in the 'linear' way you are describing
in
s1 through s4 but rather through an 'interleaved' way. Hint, the comma
you
thought was 'ravel' is actually 'append'.
Hope this helps.
Hello everyone,
this makes it pretty clear to me. Seems, like I have to study the
execution logic of hooks and forks in more detail...
Thanks again and kind regards,
Thomas
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm