Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Keen

  • 4 years ago

Problem Lec.16.1: Delq doesn't seem to work within my Siblings code. Doing Eval Tests shows that Delq should work, but it isn't working within my code. ((SIBLINGS) (lambda () (let ((results (append (ask (ask self 'mother) 'children) (ask (ask self 'father) 'children)))) (if (delq (ask self 'NAME) (remove-duplicates results)) (delq (ask self 'NAME) (remove-duplicates results)) #f))))

  • This Question is Closed

    Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy