Prolog
Prolog. Ross ( Tate ). Filling in the Blanks. Rather than reverse((a,b)) returns (b,a) What X makes reverse((a,b), X) true? The blank X gets filled with (b,a) X = 5. Fills X with 5. X = 5, X = 6. Fails since no value can equal both 5 and 6.
473 views • 11 slides