@@ -135,9 +135,12 @@ p_match' placer pretty style isInfix m_pats m_grhss = do
135 PatternBind -> stdCase
135 PatternBind -> stdCase
136 Case -> stdCase
136 Case -> stdCase
137 Lambda -> do
137 Lambda -> do
138− case unLoc (NE.head ne_pats) of
138+ let needsSpace = case unLoc (NE.head ne_pats) of
139− LazyPat _ _ -> txt "\\ "
139+ LazyPat _ _ -> True
140− _ -> txt "\\"
140+ BangPat _ _ -> True
141+ SplicePat _ _ -> True
143+ txt (if needsSpace then "\\ " else "\\")
142 LambdaCase -> stdCase
145 LambdaCase -> stdCase
143 return inci'
146 return inci'