Ewart Shaw's tour de force
{&'#.' @ (2:<|) @ ((+*:)^:400 0:)
can be written more concisely by exploiting J6.01
facilities:
'#.' {~ 2 <&| (+*:)^:400&0
'#.' {~ 2 < [: | (+*:)^:400&0
----- Original Message -----
From: Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]>
Date: Thursday, May 17, 2007 3:59 pm
Subject: Re: [Jprogramming] the most impressive & beautiful J phrase
> On the lines of ascii art, I found at Ewart Shaw's site (
> http://www.ewartshaw.co.uk/jwhat.html) this jem:
>
> {&'#.' @ (2:<|) @ ((+*:)^:400 0:) (18 %~ i:_20) j.~/ 28 %~
> _59+i.75
...
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm