cvs commit: fptools/ghc/compiler/hsSyn HsCore.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Thu, 11 Jan 2001 05:58:05 -0800


simonpj     2001/01/11 05:58:05 PST

  Modified files:
    ghc/compiler/hsSyn   HsCore.lhs 
  Log:
  Fix a grotesque bug in the HsCore.pprUfExpr
  The expression
  
  	((\x -> f x y) a b)
  
  printed as
  
  	(\x -> f x y a b)
  
  which in turn caused any importing module to
  behave most oddly.
  
  This didn't show up before, because such expressions don't
  happen much (they are simplified).  But one showed up in a
  RULE (which happens to be simplified only very gently), and
  that tickled this bug.
  
  Revision  Changes    Path
  1.34      +3 -1      fptools/ghc/compiler/hsSyn/HsCore.lhs