Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id r6ULsnL4004707 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 30 Jul 2013 23:54:50 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx109) with ESMTPS (Nemesis) id 0MTf2a-1UdvJz2EHQ-00QSiQ for ; Tue, 30 Jul 2013 23:54:43 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id r6ULpwOK029912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Jul 2013 23:51:58 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r6UJa8gr001460; Tue, 30 Jul 2013 23:51:57 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 10355956 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 30 Jul 2013 23:51:57 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r6ULpvkK008905 for ; Tue, 30 Jul 2013 23:51:57 +0200 Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id r6ULpmJl029857 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 30 Jul 2013 23:51:52 +0200 Received: by mail-oa0-f47.google.com with SMTP id m6so10440982oag.20 for ; Tue, 30 Jul 2013 14:51:48 -0700 (PDT) X-Received: by 10.60.133.180 with SMTP id pd20mr66354863oeb.64.1375221108099; Tue, 30 Jul 2013 14:51:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.68.99 with HTTP; Tue, 30 Jul 2013 14:51:28 -0700 (PDT) References: <51ECE2AC.7020806@morningstar2.co.uk> <51ED4B60.8040900@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Message-ID: Date: Tue, 30 Jul 2013 23:51:28 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Michiel Helvensteijn Subject: Re: Propagation of 'global'ness To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:YBYCM3DXzVQ=:TzbvI7sPQjrzu8ZtljAcfx1YY2 rk8cXfBYLryiEOxpg4U58JYIX9c1pDoMsYh/fsH7PSX/QtWPDNs27BFMxpfYe1/9roucAfaAW wAo/lZ6WGrNkpIZRfrzFYGWoZA3QziLGHqWIjLtEPxgLyLVaKSMNIGixurDmaSOHdkfOXzKgK evq3NDFmCHR5sA2A14K1o6zbfIo1nT1q8E1xOVwavtcYEuJWPeOsPagKHhyxyg+XnzcBhK+cC 1/8652bl0X+ByutirD3AApLMq0uGb6skkm5RJWxqyHTp/1JmZ5Tn1DQ6xoetQVIXAHN/LQugf sLptCt/K/qJ7LlIsxpGbQZ5Tmrhr0ZAT9RMI6BfACljwI6ujOzuzVWLbtNlk0HOXTMdmYdLuw 0o3lHn9HUfSKLOzloM/+e2ubZ9eksdqftHdyYzhT65fqlTn7fijILd8hjRjsoaMyyc5YReC53 8TvMlOyEDUfn2OHL0DgXpRSnVFe+2izoxXpjQgF9Dq7FfcWln2A5njzxJ2G4CbKMjwty709+/ b7ywHGcYGEHJTladJtPAEKPXrNIjMX7ctbJwx+bCkp9YUl7AXH56xKOP8miCmgZ0uRDggkbUf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YWGvBo=:yUr1Iq57R/gaoYHhhy2HPrBMhjOVp9SioJ0gbLcjCiM= Status: R X-Status: X-Keywords: X-UID: 7279 On Wed, Jul 24, 2013 at 12:27 AM, Bruno Le Floch wrote: > While we are talking of datastructure, hence are not very far from > objects, let me ask a question: do we want function polymorphism? In > other words, do we want the ability for a function to switch behavior > depending on the type of its argument, e.g., letting us provide > \obj_to_str:N ? Indeed! You'd have to implement this for method calls anyway (see below). I suggest you make this optional. Do I dare suggest a dedicated argument specifier (such as O)? :-) I also propose that methods (get:n) are simply functions with a polymorphic first parameter (\obj_get:On). That is to say, when there is the one, there should always be the other. -- www.mhelvens.net