Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s2FMOHC7022936 for ; Sat, 15 Mar 2014 23:24:18 +0100 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx007) with ESMTPS (Nemesis) id 0Li0gM-1WuB1l3vak-00n5J8 for ; Sat, 15 Mar 2014 23:24:11 +0100 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 s2FMIktS002676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 15 Mar 2014 23:18:46 +0100 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 s2EN15uB024042; Sat, 15 Mar 2014 23:18:46 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 10759260 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 15 Mar 2014 23:18:46 +0100 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 s2FMIjBf007341 for ; Sat, 15 Mar 2014 23:18:45 +0100 Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s2FMIcSf002634 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sat, 15 Mar 2014 23:18:41 +0100 Received: by mail-oa0-f49.google.com with SMTP id g12so4129679oah.36 for ; Sat, 15 Mar 2014 15:18:38 -0700 (PDT) X-Received: by 10.182.29.98 with SMTP id j2mr13475772obh.30.1394921917769; Sat, 15 Mar 2014 15:18:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.98.12 with HTTP; Sat, 15 Mar 2014 15:18:17 -0700 (PDT) References: <53248902.4050200@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1 X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id s2FMIkBf007342 Message-ID: Date: Sat, 15 Mar 2014 23:18:17 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Michiel Helvensteijn Subject: Re: Documenting 'locally added' expl3 variants To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <53248902.4050200@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id s2FMIktS002676 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:6SksR5Tanes=:FHhHILqnzoWPVU+wHIqQJWVH6F VBGiP8HKlDF/qsn70GrrB1jSQS0pXWXbY3NLxtx7FtQy55/IHE/ORrTw++nFL7kWynrJDSQAL vPh+5ifNdNuXPzaWV+nU5/3eP80DnvoJdRWfYGpszyUoYF749sttaAT6hwlGPgFNs6fY9SaUm oCmJbShrNywLFvRcy4H3rlMG7ME0fsvSsukxU8qIv4vEj47JGWMbrUuxhSbeNQ+sijBNTJjKa ShK7efkk7j0ruNBB304YkUQIOycRfOWSgpQQdTgjGK4+uHMP0lcdiDWvsb+rkNMARpdmQp0ZN TLz7QXpzetAuCWttJtcPRxTNdhUhMb3lCZE2yKEkox0JWo1abKFZq0X1e6qYXsYMGeByznSQF srri2CpxqLkXySjKIGeG5mBt5mleaIzXGP+6djnxZudvw5A2PT2Lqh0VjposEZt96uQYu0zmQ iBvOH1aPHuNtfWZq+kSaoiBhBSa3Qp32Oa9IZ40m/XipeRFH6LmVztGS/ErxFlBD4z4aqjiyv 1tPu5Lig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mar 15, 2014 at 6:08 PM, Joseph Wright wrote: > Working systematically, I notice that I use a few variants of core expl= 3 > commands that have to be created. Based on the 'document everything > public' principle, these should be mentioned (they have 'public' > function names). On the other hand, they are 'nothing to do with me' as > all I'm doing is something like > > \cs_generate_variant:Nn \some_team_function:n { V } Would you have generated this variant for the public interface even if you didn't need it internally? That is, does it make sense on its own? If so, document it. If not, don't document it. If you do document it, you acknowledge it as part of the public interface, and make it harder to get rid of in the future. If people need \some_team_function:V, they can generate their own variant (which is an idempotent operation, so that's fine). They might discover that it already exists, but they shouldn't rely on this if it is undocumented. Just my 2=A2. --=20 www.mhelvens.net