Talk:Partial function application: Difference between revisions

→‎Is Scala correct?: The _ seems to be a "partial application underscore".
(→‎Proposal for new task description: Current task description is a bit odd)
(→‎Is Scala correct?: The _ seems to be a "partial application underscore".)
Line 144:
 
I think I will have to mark this as incorrect. --[[User:Paddy3118|Paddy3118]] 23:45, 14 April 2011 (UTC)
 
: I tried Scala. The _ seems to be a "partial application underscore". In ''fs(f1,_:List[Int])'', the _ has no value. So ''fs(f1,_:List[Int])'' returns a function that takes the missing value. The interpreter seems to think that ''fsf1'' is a variable of type ''(List[Int]) => List[Int]''. I have not found the documentation for the "partial application underscore", so I am not sure how it works. I am not the author of the Scala solution. --[[User:Kernigh|Kernigh]] 03:47, 20 April 2011 (UTC)
 
==Is Lisp correct?==
Anonymous user