sandbox/lpn/ch01/test.pl

4 lines
81 B
Prolog

listensToMusic(X) :- happy(X).
playsAirGuitar(X) :- listensToMusic(X).
happy(a).