Apologies if this has been explained before. I had a quick look around and could not find anything on the Discourse.
It used to be that pressing w for “write” at the top-level during backtracking would print out a list in its entirety.
25 ?- l_systems:l_system(dragon_curve,l_systems,[f],6,O).
O = [f, +, g, +, f, -, g, +, f|…] [write]
O = [f, +, g, +, f, -, g, +, f|…]
Possible actions:
; (n,r,space,TAB): redo | t: trace&redo
*: show choicepoint | . (c,a,RET): stop
w: write | p: print
+: max_depth*5 | -: max_depth//5
b: break | h (?): help
Action? .
(This is with the latest daily build for windows (Mon Feb 23 05:17:53 2026) on a windows 11 machine.)
There’s a FAQ I could find on the SWI site, here:
This advises to press “+” at the top-level to increase the value of the max_depth/1 option for the answer_write_options flag.
I think this is new, or I missed it before because I always pressed “w” to see an entire list. In any case, what does the “write” option do now? Is there any way to get back its old functionality?