Commit Graph

5 Commits

Author SHA1 Message Date
Max Cahill
2d5555400d fixed pretty print depth issues 2021-11-26 16:50:44 +11:00
Max Cahill
2b6a6d8f53 pretty format: circular reference ids only apply in their own reference tree
so, repeated but not circular data is repeatedly output
helpful for serialisation-like uses and more clear because the id was not printed on the actual data structure in this case
2021-08-14 19:10:12 +10:00
Max Cahill
65d06d01f6 fixed pretty default config getting modified by parameters 2021-07-05 16:20:03 +10:00
Max Cahill
67019de5b5 made pretty module default config and doc comments consistent order 2021-07-05 16:18:03 +10:00
Max Cahill
e726f19a5e added pretty module with pretty.print and pretty.string
breaking: string.pretty still exists but takes new config argument
2021-07-05 16:12:16 +10:00