7 lines
206 B
Prolog
7 lines
206 B
Prolog
|
|
% List to be folded:
|
||
|
|
%
|
||
|
|
% +---+---+---+---[] <-- list backbone/spine, composed of nodes, terminating in the empty list
|
||
|
|
% | | | |
|
||
|
|
% a b c d <-- list items/entries/elements/members
|
||
|
|
%
|