Not sure how much this would help you, but there's a `text-table`package.
It's fairly simple though.
Docs: https://docs.racket-lang.org/text-table/index.html

On Wed, Mar 13, 2019 at 6: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.
>

-- 
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