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 781 of 2,753   
   =?iso-8859-1?q?Torben_=C6gidius_Mog to Jatin Bhateja   
   Re: nested functions   
   08 Sep 06 12:24:59   
   
   From: torbenm@app-3.diku.dk   
      
   Jatin Bhateja  writes:   
      
      
   > According to me GCC nested functions are not same as nested functions   
   > in functional languages as these languages are dynamically scoped   
   > languages and in them the order in which locals are searched is from   
   > inner to outermost function in enclosing order in run time stack.   
      
   This is true only for a few functional languages, most notably the   
   orignal LISP.  Scheme, SML, OCaml and Haskell are all statically   
   scoped, and I believe Common LISP supports both static and dynamic   
   scopes.   
      
           Torben   
      
   --- 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