From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,DNS_FROM_RFC_BOGUSMX autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 3CC35BC69 for ; Thu, 18 Oct 2007 17:10:56 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAHkUF0dAahQhh2dsb2JhbACOTQIBCAopgSc X-IronPort-AV: E=Sophos;i="4.21,295,1188770400"; d="scan'208";a="4730722" Received: from mail.cs.unm.edu ([64.106.20.33]) by mail3-smtp-sop.national.inria.fr with ESMTP; 18 Oct 2007 17:10:55 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.cs.unm.edu (Postfix) with ESMTP id 6A6B6E41B4; Thu, 18 Oct 2007 09:10:52 -0600 (MDT) Received: from mail.cs.unm.edu ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31735-08; Thu, 18 Oct 2007 09:10:52 -0600 (MDT) Received: from cs.unm.edu (webmail.cs.unm.edu [64.106.20.39]) by mail.cs.unm.edu (Postfix) with ESMTP id E38A4E417D; Thu, 18 Oct 2007 09:10:51 -0600 (MDT) From: "William D. Neumann" To: Dario Teixeira , Robert Fischer Cc: caml-list@yquem.inria.fr, Stefano Zacchiroli Subject: Re: [Caml-list] Smells like duck-typing Date: Thu, 18 Oct 2007 10:11:02 -0500 Message-Id: <20071018150419.M82068@cs.unm.edu> In-Reply-To: <471774AA.5000109@fischerventure.com> References: <377673.31302.qm@web54602.mail.re2.yahoo.com> <471774AA.5000109@fischerventure.com> X-Mailer: Open WebMail 2.50 20050106 X-OriginatingIP: 205.175.225.22 (wneumann) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cs.unm.edu X-Spam: no; 0.00; conceptually:01 subtype:01 model:01 model:01 wrote:01 caml-list:01 standpoint:01 neumann:02 neumann:02 functional:02 seems:03 inheritance:03 inheritance:03 inclusion:04 stories:95 On Thu, 18 Oct 2007 09:58:50 -0500, Robert Fischer wrote > If you think that a full story as a story with a summary/header, > and also a body, then you're conceptually into inheritance. > > From a formal standpoint, you're saying that all full stories > can be treated as headers/summaries/"blurbs", but not all > headers/summary/"blurbs" can be treated as full stories.  > This is equivalent to saying that full stories are a subtype > of header/summaries/"blurbs". Well, I think the problem here is that the mental model is reversed with respect to the functional model. Mentally, blurbs are kinds of stories -- they are distinguished by their lack of a body. Using the standard inheritance lingo, however, stories are a kind of blurb -- distinguished by the inclusion of a body. Really, it seems like we've got a six of one/half- dozen of the other situation... -- William D. Neumann