If I assign something like
process([[baby],[boy],[[is]dancing],[with],[[the][family]]],A)
,
then it gives output as
A = [[baby],[boy],[[is]dancing],[with],[[..][..]]].
I want it to show all the values on terminal.
Something like
A = [[baby],[boy],[[is]dancing],[with],[[the][family]]].
The problem is that the toplevel is truncating the list when they are shown. You can configure the depth of the maximum nesting with the prolog flag
toplevel_print_option
, with optionmax_depth(0)
, with 0 meaning to show everything.The helper procedure will modify the prolog flag to change only max_depth to 0, leaving the other options unchanged: