home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,121 of 2,753   
   Hans Aberg to Mogensen   
   Re: Unpopular parameter passing mechanis   
   29 Oct 07 20:00:14   
   
   From: haberg@math.su.se   
      
   In article <07-10-094@comp.compilers>, torbenm@tyr.diku.dk (Torben   
   =?iso-8859-1?Q?=C6gidius?= Mogensen) wrote:   
      
   > > It's interesting you mention that call-by-need (CBN) parameter passing   
   > > semantics is not particularly popular today.   
   >   
   > It is relatively common in functional languages, such as Haskell.   
      
   Schmidt, "Denotational Semantics", p. 181, distinguishes between   
   "call-by-need", which requires that once the evaluation of an argument   
   does proceed the whole expression must be evaluated, and "lazy   
   evaluation", which only evaluates as much as is needed from the   
   argument (a suitable subpart). By this terminology, Haskell uses lazy   
   evaluation, not call-by-need.   
      
     Hans Aberg   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca