
15 Jun
2013
15 Jun
'13
9:02 p.m.
On 06/15/2013 04:39 PM, Tommy Thorn wrote:
There's not enough context to answer the specific question, but lazy evaluation isn't magic and the answer is probably "no".
Tommy
Perhaps to simplify the question somewhat with a simpler example. Suppose you have code: -------- let f x = if (x > 4) then f 0 else (sin x + 2 * cos x) : f (x + 1) -------- After calculating at x={0,1,2,3}, and the cycle repeats, are sin, cos, etc. calculated anymore? -- frigidcode.com