2 ms·
No, I was thinking about what I said: evaluation order and evaluation method. For instance, if I had a function like func(a,b) with the semantics that a
by Retra 12y ago
No, I was thinking about what I said: evaluation order and evaluation method.
For instance, if I had a function like
func(a,b)
with the semantics that a would be evaluated before b, it would be perfectly reasonable to allow someone to evaluate argument b first instead. Thus 'argument deferral': you defer the evaluation of a until after b.
The second case is about when the arguments are evaluated: do you evaluate them when the function is called, or do you defer evaluation until when they are used? This is obviously 'argument deferral' as well, but we usually call it lazy evaluation.
http://en.wikipedia.org/wiki/Evaluation_strategy http://en.wikipedia.org/wiki/Evaluation_strategy
The term 'Argument deferral' could apply perfectly well to a discussion of Evaluation Strategy, even though that has little to do with currying.