Maybe take a look at the text-table package.

On Wed, 8 Sep 2021, 14:41 David Storrs, <[email protected]> wrote:

> raise-arguments-errors produces neatly stacked key/value pairs with
> whitespace arranged such that values line up even when keys are of
> different lengths.  Is there an easy way to get that for something that is
> not an error?  I've been through both The Printer and the
> raise-arguments-error sections in the Reference and can't find anything.
>
> For example:
>
> (doit "x" 1 "foo" 2 "super" 3)
>
> Returns the string "x     1\nfoo   2\super 3"
>
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAE8gKod_s8EhQPW9uG7P02%3D8Kmpqf2Uw%3DKLORWD%3DwmFrxnGkWA%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CAE8gKod_s8EhQPW9uG7P02%3D8Kmpqf2Uw%3DKLORWD%3DwmFrxnGkWA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaEkkL920XiYB98tJSbRv8jDXHbzTdo-VAoRSkVTeO6Mvw%40mail.gmail.com.

Reply via email to