Permalink
Browse files

exercises from day 1, musicians and instruments

  • Loading branch information...
1 parent 295f08d commit 6ac0bb48f38c48c1503c557e7ad11a66422f43f8 @MikeChristianson committed Sep 17, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 Prolog/Day-1/musicians_and_instruments.pl
View
17 Prolog/Day-1/musicians_and_instruments.pl
@@ -0,0 +1,17 @@
+musician(daft_punk, synth).
+musician(daft_punk, samples).
+musician(kristian_dunn, doublekneck_guitar).
+musician(kristian_dunn, fretless_bass).
+musician(tom_petty, guitar).
+musician(john_bonham, drums).
+musician(neil_peart, drums).
+
+genre(daft_punk, electronic).
+genre(daft_punk, house).
+genre(kristian_dunn, post-rock).
+genre(tom_petty, rock).
+genre(tom_petty, classic-rock).
+genre(john_bonham, rock).
+genre(neil_peart, rock).
+
+who_plays_what(X, Y) :- musician(X, Y).

0 comments on commit 6ac0bb4

Please sign in to comment.