To continue the guided tour go back where You came from
Continue reading the hints in German (...)Dieser Hinweis ist aus der Übung im WS 1994/95 oder aus einer noch älteren Übung oder war nie Teil einer Übung und ist daher möglicherweise für spätere Übungen nicht gültig!
Bild 5 \hinweis{appendnachsuffix6}
\hinweis{appendnachsuffix4}
Herleitung mittels fold/unfold
append([],As,As).
append([AX|AXs],AYs,[AX|AZs]) :-
append(AXs,AYs,AZs).
suffix(SXs,SXs).
suffix(SXs,SZs) :-
SXs = AYs, ««« Auflösen
SZs = [_|AZs],
suffix(AYs,AZs).
Verschönerung des Prädikats
To continue the guided tour go back where You came from
Continue reading the hints in German