HaRe-0.8.4.1: 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 #