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

7 lines
206 B
Prolog
Raw Permalink Normal View History

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