massung / tabular-asa

A column-oriented, dataframe implementation for Racket.
MIT License
17 stars 4 forks source link

docs for "mode" argument to write-table? #8

Open jbclements opened 3 weeks ago

jbclements commented 3 weeks ago

First off: many thanks for working on this, I'm using tabular-asa a whole lot these days!

It looks like there's no documentation for the mode flag to write-table. Based on some experiments, it looks to me like it controls the style of printing used for the table elements. If I'm right about this, I think a sentence such as the following would be a welcome addition to the documentation for write-table:

If @racket[mode] is #t, the table elements are printed in the style of print. If it is false, they are printed in the style of display.

massung commented 2 weeks ago

Thanks for the kind words! If you don't mind me asking, what do you use it for? Actual work or as a teaching aid, something else?

If @racket[mode] is #t, the table elements are printed in the style of print. If it is false, they are printed in the style of display.

That seems like good wording. Thanks for the suggestion!