On 18 October 2012 18:51, Tom Szczesny <[email protected]> wrote:
> However the approach in J is quite different than for A+ or K
> in that "return." is a control structure in J.

Is it not a control structure in those other languages too?
'Leaving early' a computation does not fit the purely functional
model, as it involves, as the words suggest, sequencing and jumping
over the rest of a sequence -- a restricted kind of goto.
Whatever a language calls it, that is an imperative construct.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to