I started with the good text-table library, but found I wanted more
and more other drawing tools and ended up making something pict-like
for the terminal.

On Wed, Mar 13, 2019 at 2:26 PM Jay McCarthy <jay.mccar...@gmail.com> wrote:
>
> 90% of the reason I made `raart` is because of this.
>
> https://docs.racket-lang.org/raart/index.html#%28def._%28%28lib._raart%2Fdraw..rkt%29._table%29%29
>
> (require raart
> (draw-here (table (text-rows THE-TABULAR-DATA)))
>
> Jay
>
> On Wed, Mar 13, 2019 at 2:19 PM Matt Jadud <m...@jadud.com> wrote:
> >
> > Hi all,
> >
> > I have a tabular data type that I'd like (I think) to be able to render it 
> > either in ASCII or in a prettier way in the Interactions pane. I've 
> > explored gen:write and friends, and can get the struct to display the way I 
> > want---with ASCII. Essentially easy-peasy.
> >
> > What I wonder is: am I able to do something prettier? Can I encapsulate 
> > some kind of styled rendering as a snip%, or... something... so that I can 
> > render the first 5 and last 5 rows of a table with bolding of headers, etc.?
> >
> > I don't know where to start, essentially, if I wanted to try and do this. 
> > Or, perhaps it is not particularly doable.
> >
> > Pointers to examples in codebases are welcome (if such examples exist), and 
> > I can work from there. Or, indications that this might be really difficult 
> > are also welcome.
> >
> > Cheers,
> > Matt
> >
> > (Apologies if this somehow comes through twice... I sent it to plt-scheme 
> > first...)
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> -=[     Jay McCarthy               http://jeapostrophe.github.io    ]=-
> -=[ Associate Professor        PLT @ CS @ UMass Lowell     ]=-
> -=[ Moses 1:33: And worlds without number have I created; ]=-



-- 
-=[     Jay McCarthy               http://jeapostrophe.github.io    ]=-
-=[ Associate Professor        PLT @ CS @ UMass Lowell     ]=-
-=[ Moses 1:33: And worlds without number have I created; ]=-

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to