Talk:Partial function application: Difference between revisions

D solution comment added
(→‎Explicit curry vs Partial application: An attempt to compare Java, Haskell.)
(D solution comment added)
Line 167:
: --[[User:Kernigh|Kernigh]] 00:53, 15 April 2011 (UTC)
:: Not only does &rest do the right thing with the arguments, but apply does the right thing with the return value. I think this lisp solution satisfies the concept of partial function evaluation. —[[User:Sonia|Sonia]] 01:45, 15 April 2011 (UTC)
 
==Is D correct?==
 
The D solution is a not perfect implementation, it's an approximation, but it's a D idiomatic way to solve the problem. If you don't accept an approximation, it becomes hard to implement in D. My suggestion is to accept approximate solutions too.
Anonymous user