2 easy questions


[ Follow Ups ] [ Post Followup ] [ Discussion Board ] [ FAQ ]

Posted by Kevin Chang on February 17, 2004 at 17:33:38:

Does the following type check?

(if #t
(lambda (a b) a)
(lambda (x y) y))

The second question is, according to the unification algorithm, you choose either case 4 or 5. But can't you choose both case 4 and 5?

Kevin


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Discussion Board ] [ FAQ ]