I understood Raul to be suggesting:

foo =: 3 : (
'(*:y)%2'
)

for the multi-line version of your example.


At 10:55  -0700 2007/10/01, Roger Hui wrote:
Among other things, this proposal conflicts with current uses such as 3 : '(*:y)%2'



----- Original Message -----
From: Raul Miller <[EMAIL PROTECTED]>
Date: Monday, October 1, 2007 8:37
Subject: [Jgeneral] 3 :'('
To: General forum <[email protected]>

 It occurs to me that allowing the character '(' to serve the
 same role
 as the 0 after the colon when introducing multi-line blocks of code
 might make the language more intuitive and palatable for new users.

 I do not think existing users would benefit much from this -- by now
 we are all used the unbalanced parenthesis.  However, from a
 presentation and mnemonic standpoint, I think the extra verbosity
 (the two quote characters) would be justified.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to