Skip to content
Snippets Groups Projects
Commit 3469f000 authored by sof's avatar sof
Browse files

[project @ 1997-08-25 21:44:07 by sof]

ppr updated
parent 2c57b27c
No related merge requests found
......@@ -17,7 +17,7 @@ import HsExpr ( HsExpr, Stmt )
import HsBinds ( HsBinds, nullBinds )
-- Others
import Outputable ( ifPprShowAll, PprStyle )
import Outputable ( ifPprShowAll, PprStyle, interpp'SP )
import PprType ( GenType{-instance Outputable-} )
import Pretty
import SrcLoc ( SrcLoc{-instances-} )
......@@ -160,7 +160,7 @@ pprGRHS sty is_case (GRHS [] expr locn)
= text (if is_case then "->" else "=") <+> ppr sty expr
pprGRHS sty is_case (GRHS guard expr locn)
= sep [char '|' <+> ppr sty guard,
= sep [char '|' <+> interpp'SP sty guard,
text (if is_case then "->" else "=") <+> ppr sty expr
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment