documentation needs a lot of attention.  
https://code.jsoftware.com/wiki/System/Interpreter/Requests#Fold_.28strawman.29


I think all references for Z: should refer to u verb?  Would Z: ever be called 
in v verb?  _1&Z: makes no sense.
As a simple example, find first prime whose next prime is greater than 5 higher?

[`(_2 Z: 1:)@.(5 < -) F.. ] p: i.20

23



[`(_2 Z: 1:)@.(5 < -) F:. ] p: i.20  NB. multiple version that builds list and 
stops on condition.

3 5 7 11 13 17 19 23

How might you get the first prime whose previous neighbour is less than 5 
higher? (29)

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to