Talk:First-class function: Difference between revisions

Content deleted Content added
Ruud Koot (talk | contribs)
Ruud Koot (talk | contribs)
Line 237:
 
: I'd suggest I first continue writing some more of this down in the article and we can discuss what can stay, needs to be cut or moved to another article afterwards. —''[[User:Ruud Koot|Ruud]]'' 16:21, 14 July 2010 (UTC)
 
: 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)