Hi again,

done, SVN 786.

// Jürgen


On 08/16/2016 11:28 AM, Juergen Sauermann wrote:
Hi,

thank you all for your comments.

It seems like the winner is this syntax (example):

      {⍺+⍵;C;D;E}

The proposal to replace { } by [ ] would create an ambiguous syntax:

      ⍺←⍵←1
      (1 2 3) [⍺+⍵] 4
2 4
      (1 2 3) {⍺+⍵} 4
5 6 7

and changing to something else would at least affect existing workspaces.

To declare the global variables instead of the local ones would create an
unnecessary incompatibility between lambdas and proper defined functions.
It would also cause problems in cases like this:

      { ⍎⍵,'←0';C;D} ¨ 'ABCD'

because then A and B would be local and C and D global, but the lambda
cannot know its local variables at the point in time where it needs to push
its local variables.

/// Jürgen


Reply via email to