5-15.LazyandEagerEvaluation[ReadeChs.8,9]Orderofevaluationofanexpressi - PPT Presentation
52Example3Considerexpressionsax0andydivx0bx0orydivx0Herewithlazyevaluationifx0thenimmediatelyevaluateatofalseandbtotrueThisisbetterinthesecasesbecausemoreecientitpre ID: 261863