Assignment 8 FAQs, Clarifications and Corrections

FAQs

None yet

Clarifications

None yet!

Corrections (fixed on the web)

  1. In a8/queries-starter.pl, the preface for q13 has been revised a couple of times. It now reads like this:
    % What are pairs of things that together cost less than an orange and are liked by the same person?
    %
    % Note: Put the two things in alphabetical order, like cheap(joe, lettuce, tomato).  The operator '@<'
    % can be used to compare atoms, like ?- a @< b, write(ok).
    %
    q13(cheap(P,T1,T2)) :- true.
    
  2. In a8/queries-starter.pl, the preface for q14 has been revised, too. It now reads like this:
    % What are foods whose cost is the same?  Put the two foods in alphabetical order, as you did with the things in q13.
    %
    q14(F1==F2:Cost) :- true.