Implement enough of the type checker to get test12.sml to type check correctly. This will mean writing
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement enough of the type checker to get test12.sml to type check correctly. This will mean writing the Wild inference rule as a Prolog predicate, implementing the Match rule’s predicate called typecheckMatch, and the type inference predicate for sequential execution named typecheckSequence as defined in the Sequence rule. The code for test12.sml is given here for reference.
Related Book For
Artificial Intelligence Structures And Strategies For Complex Problem Solving
ISBN: 9780321545893
6th Edition
Authors: George Luger
Posted Date: