[Jprogramming] J talk in NYC 1/21 - examples welcome

Brian Schott schott.brian at gmail.com
Fri Jan 17 18:12:29 UTC 2014


Another idea is to show the results in the following way which lines up
well with a nonproportional font.

   x,:1j0":+/\ 1 _1 0 {~ '{}' i. x
@{ foo; if (abc) { if (q) { m; } } }
011111111111111112222222223333322110



On Fri, Jan 17, 2014 at 11:24 AM, Roger Hui <rogerhui.canada at gmail.com>wrote:

> Suggestion:  Make more of a distinction between the data and the code.
>  Thus:
>
> x=: '@{ foo; if (abc) { if (q) { m; } } }'
>
> +/\ 1 _1 0 {~ '{}' i. x
>
>
>
>
>
>
-- 
(B=)


More information about the Programming mailing list