On Thu, 3 Jul 2025, Henning Hraban Ramm wrote:

> Am 03.07.25 um 20:12 schrieb Wolfgang Schuster:
> > Am 03.07.2025 um 19:53 schrieb Henning Hraban Ramm:
> >> BTW is there a function for printing a table (like pprint.pprint in
> >> Python)?
> > 
> > table.serialize(...)
> 
> Am 03.07.25 um 20:12 schrieb Thomas A. Schmitz:
> >
> > print (inspect (table))
> >
> > It's a module in Lua that is integrated into the ConTeXt Lua interpreter.
> 
> Thank you both!

There is also 

    table.print(t)

which is easy to remember :-)

Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to