Problems with Let Polymorphism and CT-Proj

From: samepst@cs.bu.edu
Date: Mon Nov 27 2006 - 16:51:46 EST


Return-Path: <samepst@cs.bu.edu>
X-Spam-HitLevel: 
X-Spam-DCC: INFN-TO: cs3.bu.edu 1233; Body=1 Fuz1=1 Fuz2=1
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on cs3.bu.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=10.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.1.0
X-Spam-Pyzor: 
Received: from csa3.bu.edu (csa3 [128.197.12.5]) by cs3.bu.edu (8.13.6/8.13.6) with ESMTP id kARLplhY009369 for <cs520@cs.bu.edu>; Mon, 27 Nov 2006 16:51:47 -0500
Received: (from apache@localhost) by csa3.bu.edu (8.13.6/8.12.11/Submit) id kARLpkE7011488; Mon, 27 Nov 2006 16:51:46 -0500
X-Authentication-Warning: csa3.bu.edu: apache set sender to samepst@cs.bu.edu using -f
Received: from 71.192.166.44 (SquirrelMail authenticated user samepst) by cs-squirrelmail.bu.edu with HTTP; Mon, 27 Nov 2006 16:51:46 -0500 (EST)
Message-ID: <11633.71.192.166.44.1164664306.squirrel@cs-squirrelmail.bu.edu>
Date: Mon, 27 Nov 2006 16:51:46 -0500 (EST)
Subject: Problems with Let Polymorphism and CT-Proj
From: samepst@cs.bu.edu
To: cs520@cs.bu.edu
User-Agent: SquirrelMail/1.4.6-4.fc2.1.legacy
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Clamav-Status: No
Status: RO
Content-Length: 342
X-UID: 65
X-Keywords: NonJunk                                                                                                    

I have doubts whether solving all the current constraints whenever a
projection is found will work, especially with the Let-Polymorphism. Here
is a typed term which would break my typechecker:

let f = lam x => lam y => (x y).2
in f (lam z=> (z,z)) 5

Can it be assumed that these special cases will not be tested?

Thank you,
-Sam Epstein



This archive was generated by hypermail 2b29 : Thu Dec 14 2006 - 16:31:59 EST