Skip to content

Draft: Remove parentheses around case (..) of expressions

Icelandjack requested to merge Icelandjack/ghc:caseof into master

Removing parentheses in case (..) of expressions in GHC's own source code.

For example, instead of

case (f x) of alts

we prefer

case f x of alts

This is a simple code refactor -- no change in behaviour.

Edited by Andreas Klebinger

Merge request reports