HaRe-0.8.3.0: the Haskell Refactorer.
Language.Haskell.Refact.Refactoring.Case
Synopsis
ifToCase :: RefactSettings -> Options -> FilePath -> SimpPos -> SimpPos -> IO [FilePath] Source #
Convert an if expression to a case expression
compIfToCase :: FilePath -> SimpPos -> SimpPos -> RefactGhc [ApplyRefacResult] Source #