Name: HaRe Version: 0.8.3.0 Author: Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman Maintainer: Alan Zimmerman (alan.zimm@gmail.com) Stability: Alpha Bug-Reports: http://github.com/RefactoringTools/HaRe/issues License: BSD3 License-File: LICENSE Homepage: https://github.com/RefactoringTools/HaRe/wiki Description: A Haskell 2010 refactoring tool. HaRe supports the full Haskell 2010 standard, through making use of the GHC API. . Version 0.7.2.8 supports up to GHC 7.6.3. . There is no support for GHC 7.8.x. There will never be support for GHC 7.8.x . From version 0.8.0.0, GHC 7.10.2 is supported. . From version 0.8.3.0, GHC 8.0.1 is supported. . It is tested against GHC 7.10.3 and GHC 8.0.1 (via travis-ci.org) . It currently only has emacs integration built in, community input welcome for others. . HaRe attempts to operate in a safe way, by first writing new files with proposed changes, and only swapping these with the originals when the change is accepted. In the process the original file is renamed to have the current date/time as a suffix. Thus it should be possible to (manually) undo changes. . Even so, it is strongly advised to back up any source files before refactoring, as we can make no promises as to the reliability of this tool. Use at your own risk. . At the moment parsing of any file with FFI exports will fail. . See Language.Haskell.Refact.HaRe for the current list of refactorings supported . Synopsis: the Haskell Refactorer. Category: Development, Refactoring Cabal-Version: >= 1.8 Build-Type: Simple tested-with: GHC == 7.10.3, GHC == 8.0.1 data-files: elisp/*.el configure.sh test/testdata/*.cabal test/testdata/*.hs test/testdata/AddOneParameter/*.hs test/testdata/AddOneParameter/*.expected.hs test/testdata/Case/*.hs test/testdata/Case/*.hs.expected test/testdata/Case/*.hs.expected.dd test/testdata/Demote/*.expected.hs test/testdata/Demote/*.hs test/testdata/Demote/*.hs.expected test/testdata/DupDef/*.hs test/testdata/DupDef/*.hs.expected test/testdata/DupDef/*.hs.expected.dd test/testdata/DupDef/*.hs.expected.gg test/testdata/DupDef/*.hs.expected.ll test/testdata/DupDef/*.hs.expected.mm test/testdata/DupDef/*.hs.expected.nn test/testdata/FreeAndDeclared/*.hs test/testdata/Layout/*.hs test/testdata/Layout/*.hs.expected test/testdata/LiftOneLevel/*.hs test/testdata/LiftOneLevel/*.hs.expected test/testdata/LiftToToplevel/*.expected.hs test/testdata/LiftToToplevel/*.hs test/testdata/LiftToToplevel/*.hs.expected test/testdata/MoveDef/*.hs test/testdata/MoveDef/*.hs.expected test/testdata/Renaming/*.expected.hs test/testdata/Renaming/*.hs test/testdata/Renaming/*.hs.expected test/testdata/RmOneParameter/*.expected.hs test/testdata/RmOneParameter/*.hs test/testdata/Simple/*.hs test/testdata/Simple/*.hs.expected test/testdata/SwapArgs/*.hs test/testdata/TH/*.hs test/testdata/TypeUtils/*.hs test/testdata/Visible/*.hs test/testdata/cabal/cabal1/*.cabal test/testdata/cabal/cabal1/*.hs test/testdata/cabal/cabal1/src/*.hs test/testdata/cabal/cabal1/src/Foo/*.hs test/testdata/cabal/cabal2/*.cabal test/testdata/cabal/cabal2/*.hs test/testdata/cabal/cabal2/src/*.hs test/testdata/cabal/cabal2/src/Foo/*.hs test/testdata/cabal/cabal3/*.cabal test/testdata/cabal/cabal3/*.hs test/testdata/cabal/cabal3/src/*.hs test/testdata/cabal/cabal3/src/Foo/*.hs test/testdata/cabal/cabal4/*.cabal test/testdata/cabal/cabal4/*.hs test/testdata/cabal/cabal4/src/*.expected.hs test/testdata/cabal/cabal4/src/*.hs test/testdata/cabal/cabal4/src/Foo/*.expected.hs test/testdata/cabal/cabal4/src/Foo/*.hs test/testdata/cabal/foo/*.cabal test/testdata/cabal/foo/*.hs test/testdata/cabal/foo/src/*.expected.hs test/testdata/cabal/foo/src/*.hs test/testdata/cabal/foo/src/Foo/*.expected.hs test/testdata/cabal/foo/src/Foo/*.hs data-Dir: . extra-source-files: ChangeLog Library -- GHC 7.10.2 ships with base 4.8.1.0 Build-Depends: base >= 4.8.1.0 && < 5 , containers , directory , semigroups , monoid-extras , cabal-helper , filepath , ghc , ghc-paths , ghc-prim , ghc-syb-utils , ghc-mod >= 5.6.0.0 , mtl , old-time , pretty , rosezipper , syb , hslogger , transformers , transformers-base , time , Strafunski-StrategyLib , syz , ghc-exactprint >= 0.5.2.1 , monad-control , Cabal >= 1.22 GHC-Options: -O0 Hs-Source-Dirs: src -- Other-Modules: Paths_HaRe Exposed-modules: Language.Haskell.Refact.API , Language.Haskell.Refact.HaRe , Language.Haskell.Refact.Refactoring.AddRmParam , Language.Haskell.Refact.Refactoring.Case , Language.Haskell.Refact.Refactoring.DupDef , Language.Haskell.Refact.Refactoring.MoveDef , Language.Haskell.Refact.Refactoring.Renaming , Language.Haskell.Refact.Refactoring.RoundTrip , Language.Haskell.Refact.Refactoring.Simple , Language.Haskell.Refact.Refactoring.SwapArgs , Language.Haskell.Refact.Utils.ExactPrint , Language.Haskell.Refact.Utils.GhcBugWorkArounds , Language.Haskell.Refact.Utils.GhcModuleGraph , Language.Haskell.Refact.Utils.GhcUtils , Language.Haskell.Refact.Utils.GhcVersionSpecific , Language.Haskell.Refact.Utils.LocUtils , Language.Haskell.Refact.Utils.Monad , Language.Haskell.Refact.Utils.MonadFunctions , Language.Haskell.Refact.Utils.TypeSyn , Language.Haskell.Refact.Utils.TypeUtils , Language.Haskell.Refact.Utils.Types , Language.Haskell.Refact.Utils.Utils , Language.Haskell.Refact.Utils.Variables , Paths_HaRe if impl (ghc < 7.10.2) buildable: False Executable ghc-hare Main-Is: MainHaRe.hs -- Other-Modules: Paths_HaRe GHC-Options: -O0 -- GHC-Options: -prof -fprof-auto -rtsopts -caf-all Hs-Source-Dirs: ./src -- GHC 7.10.2 ships with base 4.8.1.0 Build-Depends: base >= 4.8.1.0 && < 5 , array , containers , directory , semigroups , monoid-extras , cabal-helper , filepath , ghc , ghc-paths , ghc-prim , ghc-syb-utils , gitrev >= 1.1 , ghc-mod >= 5.6.0.0 , mtl , optparse-applicative , optparse-simple , old-time , parsec >= 3.1.6 , pretty , rosezipper , syb , time , transformers , transformers-base , hslogger , Strafunski-StrategyLib , syz , ghc-exactprint >= 0.5.2.1 , monad-control , Cabal >= 1.22 -- , Paths_HaRe , HaRe >= 0.8.2.1 Extensions: CPP if impl (ghc < 7.10.2) buildable: False test-suite spec type: exitcode-stdio-1.0 ghc-options: -O0 -- reinstate these later -Wall -- -Wall -- reinstate these later -Werror -- -fhpc -- -fhpc -hpcdir dist/hpc/app-1.0 cpp-options: -DTEST main-is: Spec.hs Hs-Source-Dirs: src test other-modules: AddRmParamSpec , CaseSpec , DupDefSpec , GhcUtilsSpec , LocUtilsSpec , MonadFunctionsSpec , MoveDefSpec , RenamingSpec , RoundTripSpec , SimpleSpec , SwapArgsSpec , TestUtils , TypeUtilsSpec , UtilsSpec -- , Language.Haskell.Refact.API -- , Language.Haskell.Refact.HaRe -- , Language.Haskell.Refact.Refactoring.AddRmParam -- , Language.Haskell.Refact.Refactoring.Case -- , Language.Haskell.Refact.Refactoring.RoundTrip -- , Language.Haskell.Refact.Utils.ExactPrint -- , Language.Haskell.Refact.Utils.GhcModuleGraph -- , Language.Haskell.Refact.Utils.GhcUtils -- , Language.Haskell.Refact.Utils.GhcVersionSpecific -- , Language.Haskell.Refact.Utils.LocUtils -- , Language.Haskell.Refact.Utils.Monad -- , Language.Haskell.Refact.Utils.MonadFunctions -- , Language.Haskell.Refact.Utils.TypeSyn -- , Language.Haskell.Refact.Utils.TypeUtils -- , Language.Haskell.Refact.Utils.Types -- , Language.Haskell.Refact.Utils.Utils -- , Language.Haskell.Refact.Utils.Variables -- , Paths_HaRe build-depends: -- GHC 7.10.2 ships with base 4.8.1.0 base >= 4.8.1.0 && < 5 , Diff >= 0.3.0 , HUnit , QuickCheck >= 2.5 , containers , cabal-helper , semigroups , monoid-extras , deepseq , directory , filepath , ghc , ghc-paths , ghc-prim , ghc-syb-utils , ghc-mod >= 5.6.0.0 , hspec , mtl , old-time , process , silently , stringbuilder , rosezipper , syb , transformers , transformers-base , time , hslogger , Strafunski-StrategyLib , syz , ghc-exactprint >= 0.5.2.1 , monad-control , Cabal >= 1.22 -- , Paths_HaRe , HaRe >= 0.8.2.1 Extensions: CPP if impl (ghc < 7.10.2) buildable: False -- test-suite doctests -- type: exitcode-stdio-1.0 -- ghc-options: -threaded -- main-is: doctests.hs -- build-depends: base >= 4.0 && < 4.9 -- , doctest >= 0.8 -- , ghc-mod -- Hs-Source-Dirs: -- -- src -- test source-repository head type: git location: https://github.com/RefactoringTools/HaRe.git