Re: [racket-users] Pretty display of tabular data?

2019-03-15 Thread Greg Hendershott
> 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))) Although I didn't see one in the docs, it looks like you have an examp

Re: [racket-users] Pretty display of tabular data?

2019-03-14 Thread Matt Jadud
On Thu, Mar 14, 2019 at 11:51 AM wrote: > > 3. Which brings me to to the biggest obstacle. > > — beginners make mistakes > — languages must explain mistakes > — beginners better understand these explanations > > Yes to all three of your points. I was thinking about your last point in my first exp

Re: [racket-users] Pretty display of tabular data?

2019-03-14 Thread matthias
> On Mar 14, 2019, at 1:26 AM, Alex Harsanyi wrote: > > Would it be possible to join forces > and merge these projects so that we end up with one library that servers > multiple purposes equally well? 1. I have been at this point many times. A big example is the testing libraries that we

Re: [racket-users] Pretty display of tabular data?

2019-03-13 Thread Jay McCarthy
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 wrote: > > 90% of the reason I made `raart` is because of this. > > https://docs.racket-lang.org/

Re: [racket-users] Pretty display of tabular data?

2019-03-13 Thread Laurent
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 wrote: > Hi all, > > I have a tabular data type that I'd like (I think) to be able to render it

Re: [racket-users] Pretty display of tabular data?

2019-03-13 Thread Jay McCarthy
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 wrote: > > Hi all, > > I have a

[racket-users] Pretty display of tabular data?

2019-03-13 Thread Matt Jadud
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