On Mon, Aug 24, 2009 at 9:32 PM, Dan Bron<[email protected]> wrote: > I needed to represent a "nested list" like this: > as analogously-nested set of boxes, like this:
Load the script from http://www.jsoftware.com/jwiki/Scripts/Scheme and then try this: rdr1 ;: '((345 * _2 + +/@:(+/%#) * ]) - ''hello''"_ , <.)' +------------------------------------------------------+ |+---------------------------------+-+-------+-+-+-+--+| ||+---+-+--+-+-+-+--+---------+-+-+|-|'hello'|"|_|,|<.|| |||345|*|_2|+|+|/|@:|+-+-+-+-+|*|]|| | | | | | || ||| | | | | | | ||+|/|%|#|| | || | | | | | || ||| | | | | | | |+-+-+-+-+| | || | | | | | || ||+---+-+--+-+-+-+--+---------+-+-+| | | | | | || |+---------------------------------+-+-------+-+-+-+--+| +------------------------------------------------------+ (Note that I've added an extra set of parenthesis around the expression.) Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
