Content deleted Content added
→New 'Comparison' Section has wrong focus: A good suggestion. |
|||
Line 239:
: P.S. Lazy evaluation in Haskell is implemented (naively, modulo compiler optimizations) because closures ''are'' created for "primitive" types like integers. Code never has to worry about whether some value is a primitive type or an unevaluated function returning an integer. They are just both "values" than can be obtained by forcing the closure. It think this is nice unifying concept that is not widely known and understood and would therefore be enlightening to include. —''[[User:Ruud Koot|Ruud]]'' 16:54, 14 July 2010 (UTC)
:: OK by me Ruud. I like your idea of continuing the discussion when there is more to discuss; and thanks for pointing out that closures are created for other, definitely first class types such as integers. --[[User:Paddy3118|Paddy]] ([[User talk:Paddy3118|talk]]) 17:46, 14 July 2010 (UTC)
|