| Store | Cart

Re: [TCLCORE] There is no justification for modifying [proc] for named parameters

From: Alexandre Ferrieux <alex...@gmail.com>
Sun, 21 May 2017 15:02:32 +0200
On Sun, May 21, 2017 at 2:56 PM, Alexandre Ferrieux
<alex...@gmail.com> wrote:
> On Sun, May 21, 2017 at 12:58 PM, Andreas Leitgeb <a...@logic.at> wrote:>> Alexander's counter-proposal isn't "better", because it lacks introspecta->> bility.>> Why so ?>>   proc f {x y z} {>      eatargs -allbyname -whatever-other-argspec-gets-TIPped>      ...>   }>   f -z 3 -x 0 -y 2

Oops, I meant:

    proc f args {
        eatargs {your proposal's argspec}
        ...
    }
    f -z 3 -x 0 -y 2

That's still introspectable :-)

-Alex

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Recent Messages in this Thread
Andreas Leitgeb May 20, 2017 04:16 pm
Colin McCormack May 20, 2017 11:37 pm
Andreas Leitgeb May 21, 2017 10:58 am
Colin McCormack May 21, 2017 12:52 pm
Andreas Leitgeb May 21, 2017 03:43 pm
Colin McCormack May 21, 2017 04:12 pm
Andreas Leitgeb May 21, 2017 05:58 pm
Colin McCormack May 22, 2017 02:29 am
Colin McCormack May 22, 2017 04:12 am
Alexandre Ferrieux May 21, 2017 12:56 pm
Alexandre Ferrieux May 21, 2017 01:02 pm
Andreas Leitgeb May 21, 2017 02:11 pm
Alexandre Ferrieux May 21, 2017 02:18 pm
Andreas Leitgeb May 21, 2017 06:04 pm
Donald G Porter May 23, 2017 04:40 pm
Mathieu Lafon May 21, 2017 11:38 am
Colin McCormack May 21, 2017 12:13 pm
Colin McCormack May 21, 2017 01:01 pm
Mathieu Lafon May 21, 2017 04:34 pm
Colin McCormack May 21, 2017 04:40 pm
Peter da Silva May 22, 2017 12:13 pm
Colin McCormack May 22, 2017 12:26 pm
Colin McCormack May 20, 2017 02:39 pm
Messages in this thread