Anniepoo / swipldcgtut

A tutorial for DCG's in swi-Prolog
32 stars 7 forks source link

phrase/3 used b efore being explained. #11

Open Anniepoo opened 7 years ago

Anniepoo commented 7 years ago

Finally you use phrase/3, not phrase/2 in an example before having explained that:

?- phrase(cliche, X, []), 
       format('~s~n', [X]).

Enjoying your stuff though (^_^)

Bye for now,

Henk