HaRe-0.7.2.8: the Haskell Refactorer.
Language.Haskell.Refact.Refactoring.Case
Synopsis
ifToCase :: RefactSettings -> Cradle -> FilePath -> SimpPos -> SimpPos -> IO [FilePath]Source
Convert an if expression to a case expression