http://d.puremagic.com/issues/show_bug.cgi?id=4391

           Summary: std.functional.curry is not a real curry
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: graham.fawc...@gmail.com


--- Comment #0 from Graham Fawcett <graham.fawc...@gmail.com> 2010-06-25 
06:37:50 PDT ---
The "curry" template in std.functional is not actually a curry, but a partial
application. 

A curry function should take a single argument, a binary function:

  (A a, B b) { return ... }

and return a nested unary function:

  (A a) { return (B b) { return ... }; };

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to