cvs commit: hugs98/src static.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Tue, 16 Apr 2002 13:01:25 -0700


sof         2002/04/16 13:01:25 PDT

  Modified files:
    src                  static.c 
  Log:
  Local declarations may now define names that are in scope via import
  decls, i.e., stuff like
  
      module A where
      import Prelude
      head = "head"
  
  is now possible...well, actually the above example is invalid Haskell,
  as you cannot shadow Prelude names without explicitly hiding the Prelude
  name (5.6.2), but we don't currently implement that extra (ad-hoc)
  restriction (neither does GHC.)
  
  Revision  Changes    Path
  1.63      +13 -4     hugs98/src/static.c