From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id F2A18BB9B for ; Fri, 11 Nov 2005 20:33:33 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jABJXXQV004903 for ; Fri, 11 Nov 2005 20:33:33 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA30933 for ; Fri, 11 Nov 2005 20:33:32 +0100 (MET) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jABJXVJE004897 for ; Fri, 11 Nov 2005 20:33:32 +0100 Received: by xproxy.gmail.com with SMTP id h27so1001807wxd for ; Fri, 11 Nov 2005 11:33:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uiJyPO84GGn3hKMQMQRDAshgtDLxwfQ+mjivJ+FI8exN1DLzsZ0e9VsnjMMTEEmrPAEJNSuorUfkmgWR9FBls5bdsEyGC6y5/yEjNare9jA0jUedbSbTBd3sX9ol2tswW4OLNvdsMO6LUijiJEmlMk7EynqmvuGHw+fJK8pC04g= Received: by 10.64.10.8 with SMTP id 8mr2800966qbj; Fri, 11 Nov 2005 11:33:30 -0800 (PST) Received: by 10.65.35.3 with HTTP; Fri, 11 Nov 2005 11:33:30 -0800 (PST) Message-ID: <4a708d20511111133q432e1e9co@mail.gmail.com> Date: Fri, 11 Nov 2005 20:33:30 +0100 From: Lukasz Stafiniak To: caml users Subject: Typing of the sequence operator (;) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Miltered: at nez-perce with ID 4374F20D.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4374F20B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; lukasz:01 toplevel:01 lukasz:01 typing:01 labels:02 unit:03 bugs:03 operator:11 operator:11 ignore:11 things:12 source:12 sequence:13 sequence:13 often:14 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Dear list, Why does the sequence operator (;) have type 'a -> 'b -> 'b and not unit -> 'a -> 'a? There is (ignore) for doing "these things" purposefully. The toplevel warning is very often mute. Together with labels, this is a source of bugs. Best Regards, Lukasz