Did you know ... Search Documentation:
Pack onepointfour_basics -- prolog/dict_pp/topmost.pl
PublicShow source

This module exports the predicate which is called from dict_pp/3 and eventually from itself if dict prettyprinting needs to prettyprint subdicts.

The homepage for this module is at

https://github.com/dtonhofer/prolog_code/blob/main/unpacked/onepointfour_basics/README_dict_pp.md

 pp_if_shallow_enough(+Dict, +SettingsDict, -LinesOut)
If the limit of the depth-of-recursion has been reached, print the dict as a oneliner using format/3 and the ~q placeholder, otherwise proceed with dict prettyprinting. This predicate is recursively called if a (sub-)dict is encountered during prettyprinting.