[m-users.] [Beginner] How to pretty print a list of lists of strings

Razetime rraghu.11502 at gmail.com
Fri Oct 14 13:17:22 AEDT 2022


I have a list [["abc","bcd"],["acb","cbd"]] and I would like to
prettyprint it to an IO stream.

I looked into the pretty_print module but it seems to be for
generating documentation, and format from the io and strings module
seems to be for simpler types. How would I go about doing this? I want
to know if there's something i can use from the stdlib, similar to
show in haskell.


More information about the users mailing list