RosettaCodeData/Task/Catamorphism/Prolog/catamorphism-2.pro

7 lines
206 B
INI

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