0

If you ever worked with tau prolog and you're confused as to why, when you use answer.lookup("Id").id, it works but, for other values, it returns false.

Rob
  • 14,746
  • 28
  • 47
  • 65

1 Answers1

0

It's because the dict are different for nums and strings meaning you have to use answer.lookup("Num").value.

Formed this answer from the OP who put the answer within his question.

Rob
  • 14,746
  • 28
  • 47
  • 65