Hello Henry;
An interesting idea, but where does it end? Do we need to immediately
see the difference between, for example, i. 2 2 and i. 1 1 1 2 2 which
both have the same display value. Is $x too much of a bother for
students who need to dissect a value? I sure hope not.
Henry Rich wrote:
Does it meet the needs of people requesting colo(u)r?
No. I'd like for students to be able to see immediately whether
any result is an atom or a 1-item list. It is confusing to them
that they look the same.
I can use linrep to show the difference - a good idea, and
I'll try it - but it would be better if they could just
immediately see the difference in any result.
Henry Rich
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Schott
Sent: Saturday, September 27, 2008 1:00 AM
To: Programming forum
Subject: Re: [Jprogramming] Difference between 5^100x and x: 5^100
Yes, linrep is even better than having to name each noun.
Does it meet the needs of people requesting colo(u)r?
linrep ''
''
linrep i. 0 3
i.0 3
linrep 3{.i. 0 3
3 3$0
On Sat, Sep 27, 2008 at 12:35 AM, Roger Hui <[EMAIL PROTECTED]> wrote:
Watch this:
linrep=: 3 : '5!:5 <''y'''
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er |
-----------------------------------------------------(INTP)----{ gnat }-
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm