From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 91B651F4B5 for ; Mon, 11 Nov 2019 22:59:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbfKKW7x (ORCPT ); Mon, 11 Nov 2019 17:59:53 -0500 Received: from smtp.hosts.co.uk ([85.233.160.19]:34666 "EHLO smtp.hosts.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbfKKW7w (ORCPT ); Mon, 11 Nov 2019 17:59:52 -0500 Received: from [92.30.121.54] (helo=[192.168.1.22]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1iUIf0-00005h-CH; Mon, 11 Nov 2019 22:59:51 +0000 Subject: Re: [PATCH v2 2/2] git-gui: revert untracked files by deleting them To: Jonathan Gilbert , "Pratyush Yadav me-at-yadavpratyush.com |GitHub Public/Example Allow|" <172q77k4bxwj0zt@sneakemail.com> Cc: Jonathan Gilbert via GitGitGadget , Git Mailing List , Jonathan Gilbert , Jonathan Gilbert References: <9469beb59937f87647190cf7f56544b8c27e20b6.1573110335.git.gitgitgadget@gmail.com> <20191111192526.crllpe3phitneu3p@yadavpratyush.com> From: Philip Oakley Message-ID: Date: Mon, 11 Nov 2019 22:59:51 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On 11/11/2019 21:55, Jonathan Gilbert wrote: > Basic method (or, if you will, a "chord" with only one "note"): > > (caller) > | > void Add(int X, int Y) > | > { output(X + Y) } > > A "chord" with two "notes": > > (caller) (caller) > | | > void AddX(int X) void AddY(int Y) > | | > `-----------.-----------' > | > { output(X + Y) } > > The specific details differ from what I've written here. In Polyphonic > C#, you don't have to instantiate a chord, you simply start calling > methods, and the runtime matches up complete sets dynamically. sounds like "Currying" a function but with the parameters taken in any order, though, in a sense, perhaps not generating intermediate functions... Philip