From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 295CF7F6D8 for ; Mon, 19 Jan 2015 17:10:13 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of yallop@gmail.com) identity=pra; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of yallop@gmail.com designates 74.125.82.174 as permitted sender) identity=mailfrom; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="yallop@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f174.google.com) identity=helo; client-ip=74.125.82.174; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yallop@gmail.com"; x-sender="postmaster@mail-we0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsAAK4rvVRKfVKum2dsb2JhbABbhDSDAskxAoEbB0MBAQEBAREBAQEBAQYLCwkULoQNAQEEEhEdARsdAQMMBgULDQICJgICIgERAQUBHAYTIod1AQMRrm4+MYsugWuCd4o0ChknDVSDSAEBAQEBBQEBAQEYAQUOgROOWAeCaIFBBZdwihqGRhIjgQwJhBA+MYJDAQEB X-IPAS-Result: ArsAAK4rvVRKfVKum2dsb2JhbABbhDSDAskxAoEbB0MBAQEBAREBAQEBAQYLCwkULoQNAQEEEhEdARsdAQMMBgULDQICJgICIgERAQUBHAYTIod1AQMRrm4+MYsugWuCd4o0ChknDVSDSAEBAQEBBQEBAQEYAQUOgROOWAeCaIFBBZdwihqGRhIjgQwJhBA+MYJDAQEB X-IronPort-AV: E=Sophos;i="5.09,427,1418079600"; d="scan'208";a="96932222" Received: from mail-we0-f174.google.com ([74.125.82.174]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 19 Jan 2015 17:10:08 +0100 Received: by mail-we0-f174.google.com with SMTP id k48so32304434wev.5 for ; Mon, 19 Jan 2015 08:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CokwREYQwqPscTMkm0nylrx/WrWQ8PfXmHJHFNb4GZg=; b=Togw+2QJ+pJ4ID8AKvGhCJ71eeeN3nvg0fsdF32t7jDl4XyKeQXVYegBA8xwvTbUL5 K3yJRfGWdQJbU1oV0ebRaaNOx7Tr+BEzkHCl8qYqwddii0thkPNjgvoWEgcl4WKdIdhz lzie0PoS+1BWwHjpV6sKdSL0fOLJel1nW5HxL1skG4h9BIj6TXPJrmlXos8yAR3kNww0 FdKfHyzCqFgMHYIydV1t9tWlv2ffNvUfGzN7L64htxGABLIXbOuhvQMEyeYFQaiQbSCq 6zpSviPg1hO+0MWZdRg4CeopSl3OV+eCG65yjCDqb6MfEvm2v0WXEg2zedHQZ324AehN IA2A== MIME-Version: 1.0 X-Received: by 10.180.78.202 with SMTP id d10mr37316444wix.82.1421683808117; Mon, 19 Jan 2015 08:10:08 -0800 (PST) Received: by 10.216.23.130 with HTTP; Mon, 19 Jan 2015 08:10:08 -0800 (PST) In-Reply-To: <54BCD113.70309@lexifi.com> References: <20150119073303.038ECC38BA@www1.g3.pair.com> <54BCC17A.4000802@frisch.fr> <54BCD113.70309@lexifi.com> Date: Mon, 19 Jan 2015 16:10:08 +0000 Message-ID: From: Jeremy Yallop To: Alain Frisch Cc: Gabriel Scherer , Oleg Kiselyov , Jun Furuse , caml users Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] [ANN] ppx_monadic.1.0.2, ppx for monadic do, On 19 January 2015 at 09:40, Alain Frisch wrote: > On 01/19/2015 10:06 AM, Gabriel Scherer wrote: >> >> (On the other hand, the remark that the existing uses of keyword-bang in >> the language, namely (method!) and (open!), could now be represented as >> annotations is fairly reasonable.) > > Indeed, these ! markers only affect warnings, and don't change the static or > dynamic semantics otherwise, so I wouldn't be shocked if they were > represented internally with attributes. Unless perhaps if we consider that > forcing users to mark method overrides, as in many other class-based OO > languages, should become part of the language definition (i.e. turned into a > strong error at some point). A nit: for methods, at least, the ! already produces an error in the case where the method is not previously defined: # object method! m = 3 end;; Characters 7-20: object method! m = 3 end;; ^^^^^^^^^^^^^ Error: The method `m' has no previous definition