[Jprogramming] 2 f 3 f 4 f m

Dan Bron jf at dbron.net
Fri May 12 11:01:00 HKT 2006


I use Jose Quintana's   seq  adverb:

	   NB.  Jose Quintana's adverb for sequential application of dyadic verbs
	   NB.  x. f seq y. is essentially equivalent to ... (2 {:: x.) f (1 {:: x.) f (0 {:: x.) f y.
	   seq =:  ((&.>) /) (@:((|.@:[) , (<@:]))) (>@:)
	
	   (;/ 2 4 6 8 10) + seq   i. 2 2
	30 31
	32 33

Apparently, the Forum archives are somewhat corrupt, so the original message is missing.  But he quotes it in:
http://www.jsoftware.com/pipermail/general/2002-September/012293.html 

-Dan



More information about the Programming mailing list