Thread (57 messages) 57 messages, 6 authors, 2020-03-02

Re: [PATCH v2 2/2] git-gui: revert untracked files by deleting them

From: Philip Oakley <hidden>
Date: 2019-11-11 22:59:54

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help