`raco pkg show` implements something very close that you could turn
into a library

https://github.com/racket/racket/blob/master/racket/collects/pkg/private/show.rkt#L102

On Thu, Sep 21, 2017 at 5:03 PM, 'John Clements' via users-redirect
<us...@plt-scheme.org> wrote:
> Before I go re-inventing the wheel, I want to ask you folks: has anyone 
> written a library that prints out tabular data in a textual format?
>
> E.G: given
>
> ‘((“a” “bcd” “ef”) (“gh” “hhu.thnt” “t”)
>
> returns
>
> "
> ----------------------
> | a  | bcd      | ef |
> | gh | hhu.thnt | t  |
> ———————————
> “
>
> (sorry about the horrible damage that Apple Mail inflicts upon this message.)
>
> … in the style of postgresql and similar display engines?
>
> It’s easy to write one of these, but if someone else has done it, it will 
> probably have nice bells and whistles that mine won’t.
>
> John
>
>
>
>
>
>
>
> --
> 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; ]=-

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