I’ve now come to think about left-to-right folds to just be un-J. Maybe it’s better to have custom implementations for the pattern (|. x) <fold verb> y where x is still the array of controls and y is the initial data. Cut the number of F primitives in half and have people be explicit about whether or not to reverse (|.).
Am 24.02.21 um 03:13 schrieb Raul Miller: > Left to right folds (F.. and F:.) do not have corresponding primitive > adverb. For these folds, it makes sense that the initial value be the > left hand argument to the first invocation of the fold's v argument. -- ---------------------- mail written using NEO neo-layout.org ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
