You can always use ~. =/ ]

   a=: 'wontipanicinapitnow'

   '-0' {~ = a
0-----------------0
-0---------------0-
--0----0---0----0--
---0-----------0---
----0---0-0---0----
-----0-------0-----
------0-----0------
---------0---------

   '-0' {~ (~. =/ ]) a
0-----------------0
-0---------------0-
--0----0---0----0--
---0-----------0---
----0---0-0---0----
-----0-------0-----
------0-----0------
---------0---------




On Wed, Feb 26, 2014 at 11:16 PM, Michal Wallace
<[email protected]>wrote:

> D'oh. I realized what it was for a few minutes later, and came back hoping
> everyone was asleep and I could answer myself.
>
> Ah well. :)
>
> On Thu, Feb 27, 2014 at 12:42 AM, Raul Miller <[email protected]>
> wrote:
> >
> > Mind you, it might have made more sense for = to always construct
> > identity matrices.
> >
>
> But then how would you make histograms and palindrome pictures? :)
>
>    _*-.= 'racecar'
>
> 0 _ _ _ _ _ 0
>
> _ 0 _ _ _ 0 _
>
> _ _ 0 _ 0 _ _
>
> _ _ _ 0 _ _ _
>
>
>
>    _*-.= 'amanaplanacanalpanama'
>
> 0 _ 0 _ 0 _ _ 0 _ 0 _ 0 _ 0 _ _ 0 _ 0 _ 0
>
> _ 0 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 _
>
> _ _ _ 0 _ _ _ _ 0 _ _ _ 0 _ _ _ _ 0 _ _ _
>
> _ _ _ _ _ 0 _ _ _ _ _ _ _ _ _ 0 _ _ _ _ _
>
> _ _ _ _ _ _ 0 _ _ _ _ _ _ _ 0 _ _ _ _ _ _
>
> _ _ _ _ _ _ _ _ _ _ 0 _ _ _ _ _ _ _ _ _ _
> ----------------------------------------------------------------------
> 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