sicp-ex-4.64



<< Previous exercise (4.63) | Index | Next exercise (4.65) >>


meteorgan

  
  
  
 first,  query (outranked-by (Bitdiddle Ben) ?who), after unifying the conclusion of rule. we will evaluate (outranked-by ?middle-manager ?boss), this will query (outranked-by ?staff-person ?boss) again, so it will be in infinite loop.