├── .ghci ├── .gitignore ├── .gitlab-ci.yml ├── .travis.yml ├── COPYING.AGPL3 ├── COPYING.BSD3 ├── ChangeLog ├── CodingStyle ├── GhcMod.hs ├── GhcMod └── Exe │ ├── Boot.hs │ ├── Browse.hs │ ├── CaseSplit.hs │ ├── Check.hs │ ├── Debug.hs │ ├── FillSig.hs │ ├── Find.hs │ ├── Flag.hs │ ├── Info.hs │ ├── Internal.hs │ ├── Lang.hs │ ├── Lint.hs │ ├── Modules.hs │ ├── PkgDoc.hs │ └── Test.hs ├── LICENSE ├── README.md ├── README_old.md ├── Setup.hs ├── bench ├── Bench.hs └── data │ └── simple-cabal │ ├── Main.hs │ ├── Setup.hs │ └── simple-cabal.cabal ├── cabal.project ├── core ├── COPYING.AGPL3 ├── COPYING.BSD3 ├── Data │ └── Binary │ │ └── Generic.hs ├── GhcMod │ ├── CabalHelper.hs │ ├── Caching.hs │ ├── Caching │ │ └── Types.hs │ ├── Convert.hs │ ├── Cradle.hs │ ├── CustomPackageDb.hs │ ├── DebugLogger.hs │ ├── Doc.hs │ ├── DynFlags.hs │ ├── DynFlagsTH.hs │ ├── Error.hs │ ├── FileMapping.hs │ ├── Gap.hs │ ├── GhcPkg.hs │ ├── HomeModuleGraph.hs │ ├── LightGhc.hs │ ├── Logger.hs │ ├── Logging.hs │ ├── Monad.hs │ ├── Monad │ │ ├── Compat.hs_h │ │ ├── Env.hs │ │ ├── Log.hs │ │ ├── Newtypes.hs │ │ ├── Orphans.hs │ │ ├── Out.hs │ │ ├── State.hs │ │ └── Types.hs │ ├── Options │ │ ├── DocUtils.hs │ │ ├── Help.hs │ │ └── Options.hs │ ├── Output.hs │ ├── PathsAndFiles.hs │ ├── Pretty.hs │ ├── Read.hs │ ├── SrcUtils.hs │ ├── Stack.hs │ ├── Target.hs │ ├── Types.hs │ ├── Utils.hs │ └── World.hs ├── GhcModCore.hs ├── LICENSE ├── Setup.hs ├── ghc-mod-core.cabal └── shared │ ├── System │ └── Directory │ │ └── ModTime.hs │ └── Utils.hs ├── doc ├── Makefile ├── bug.piki ├── copyright.piki ├── emacs.piki ├── ghc-mod.piki ├── ghc-modi.piki ├── history.piki ├── index.piki ├── install.piki ├── preparation.piki └── presentation │ ├── Rokkitt.otf │ ├── SIL Open Font License.txt │ ├── architecture.pdf │ ├── architecture.tex │ ├── auto │ └── main.el │ ├── current-architecture.dia │ ├── current-architecture.png │ ├── gh-stars.png │ ├── hackage-dls.png │ ├── logo.pdf │ ├── main.pdf │ ├── main.tex │ └── planned-architecture.png ├── elisp ├── Makefile ├── ghc-check.el ├── ghc-command.el ├── ghc-comp.el ├── ghc-doc.el ├── ghc-func.el ├── ghc-indent.el ├── ghc-info.el ├── ghc-ins-mod.el ├── ghc-pkg.el ├── ghc-process.el ├── ghc-rewrite.el └── ghc.el ├── ghc-mod.cabal ├── ghcmodHappyHaskellProgram-Dg.tex ├── scripts ├── bounds.hs ├── bump.sh ├── collect-debug-info.sh ├── compare-versions.sh ├── diff.hs ├── docker.sh ├── download-metadata.sh ├── edit-bounds-macros.el ├── extract-build-deps.hs ├── extract-upload-date.sh └── upload-metadata.hs ├── shelltest ├── ShellTest.hs ├── browse.test ├── browse │ ├── MyModule.hs │ ├── browse-project.testtpl │ ├── cabal │ │ ├── MyModule.hs │ │ ├── browse-cabal.cabal │ │ └── browse-cabal.test │ ├── plain │ │ ├── MyModule.hs │ │ └── browse-plain.test │ └── sandbox │ │ ├── MyModule.hs │ │ ├── browse-sandbox.test │ │ └── test-setup.sh └── version.test ├── src ├── GhcMod │ └── Exe │ │ ├── Options.hs │ │ ├── Options │ │ ├── Commands.hs │ │ └── ShellParse.hs │ │ └── Version.hs ├── GhcModMain.hs └── GhcModi.hs ├── test-elisp ├── inp.hs └── out.hs └── test ├── BrowseSpec.hs ├── CabalHelperSpec.hs ├── CaseSplitSpec.hs ├── CheckSpec.hs ├── CradleSpec.hs ├── CustomPackageDbSpec.hs ├── Dir.hs ├── FileMappingSpec.hs ├── FindSpec.hs ├── FlagSpec.hs ├── GhcPkgSpec.hs ├── HomeModuleGraphSpec.hs ├── InfoSpec.hs ├── LangSpec.hs ├── LintSpec.hs ├── ListSpec.hs ├── Main.hs ├── MonadSpec.hs ├── PathsAndFilesSpec.hs ├── ShellParseSpec.hs ├── TargetSpec.hs ├── TestUtils.hs ├── data ├── annotations │ └── With.hs ├── broken-cabal │ ├── .cabal-sandbox │ │ └── packages │ │ │ ├── 00-index.cache │ │ │ └── 00-index.tar │ ├── broken.cabal │ └── cabal.sandbox.config.in ├── broken-sandbox │ ├── cabal.sandbox.config │ └── dummy.cabal ├── cabal-flags │ └── cabal-flags.cabal ├── cabal-preprocessors │ ├── Main.hs │ ├── Preprocessed.hsc │ └── cabal-preprocessors.cabal ├── cabal-project │ ├── .cabal-sandbox │ │ ├── i386-osx-ghc-7.6.3-packages.conf.d │ │ │ └── Cabal-1.18.1.3-2b161c6bf77657aa17e1681d83cb051b.conf │ │ └── packages │ │ │ ├── 00-index.cache │ │ │ └── 00-index.tar │ ├── Baz.hs │ ├── Foo.hs │ ├── Info.hs │ ├── Main.hs │ ├── cabal.sandbox.config.in │ ├── cabalapi.cabal │ └── subdir1 │ │ └── subdir2 │ │ └── dummy ├── case-split │ ├── Crash.hs │ ├── Vect.hs │ └── Vect706.hs ├── check-missing-warnings │ └── DesugarWarnings.hs ├── check-packageid │ ├── .cabal-sandbox │ │ └── i386-osx-ghc-7.6.3-packages.conf.d │ │ │ └── template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf │ └── cabal.sandbox.config.in ├── check-test-subdir │ ├── check-test-subdir.cabal │ ├── src │ │ └── Check │ │ │ └── Test │ │ │ └── Subdir.hs │ └── test │ │ ├── Bar │ │ └── Baz.hs │ │ ├── Foo.hs │ │ └── Main.hs ├── custom-cradle │ ├── custom-cradle.cabal │ ├── ghc-mod.package-db-stack │ ├── package-db-a │ │ └── .gitkeep │ ├── package-db-b │ │ └── .gitkeep │ └── package-db-c │ │ └── .gitkeep ├── duplicate-pkgver │ ├── .cabal-sandbox │ │ └── i386-osx-ghc-7.6.3-packages.conf.d │ │ │ ├── template-haskell-1.0-7c59d13f32294d1ef6dc6233c24df961.conf │ │ │ ├── template-haskell-2.8.0.0-14e543bdae2da4d2aeff5386892c9112.conf │ │ │ └── template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf │ ├── cabal.sandbox.config.in │ └── duplicate-pkgver.cabal ├── file-mapping │ ├── File.hs │ ├── File_Redir.hs │ ├── File_Redir_Lint.hs │ ├── duplicate-main │ │ ├── Main.hs │ │ ├── Main_Redir.hs │ │ ├── OtherMain.hs │ │ ├── OtherMain_Redir.hs │ │ └── duplicate-main.cabal │ ├── lhs │ │ ├── File.lhs │ │ ├── File_Redir.lhs │ │ └── File_Redir_Lint.lhs │ └── preprocessor │ │ ├── File.hs │ │ ├── File_Redir.hs │ │ └── File_Redir_Lint.hs ├── foreign-export │ └── ForeignExport.hs ├── ghc-mod-check │ ├── ghc-mod-check.cabal │ ├── lib │ │ └── Data │ │ │ └── Foo.hs │ └── main.hs ├── hlint │ └── hlint.hs ├── home-module-graph │ ├── cpp │ │ ├── A.hs │ │ ├── A1.hs │ │ ├── A2.hs │ │ ├── A3.hs │ │ └── B.hs │ ├── cycle │ │ ├── A.hs │ │ └── B.hs │ ├── errors │ │ ├── A.hs │ │ ├── A1.hs │ │ ├── A2.hs │ │ ├── A3.hs │ │ └── B.hs │ ├── indirect-update │ │ ├── A.hs │ │ ├── A1.hs │ │ ├── A2.hs │ │ ├── A3.hs │ │ ├── B.hs │ │ └── C.hs │ └── indirect │ │ ├── A.hs │ │ ├── A1.hs │ │ ├── A2.hs │ │ ├── A3.hs │ │ ├── B.hs │ │ └── C.hs ├── import-cycle │ ├── Mutual1.hs │ └── Mutual2.hs ├── nice-qualification │ └── NiceQualification.hs ├── non-exported │ └── Fib.hs ├── pattern-synonyms │ ├── A.hs │ ├── B.hs │ ├── Setup.hs │ └── pattern-synonyms.cabal ├── quasi-quotes │ ├── FooQ.hs │ └── QuasiQuotes.hs ├── stack-project │ ├── Setup.hs │ ├── app │ │ └── Main.hs │ ├── new-template.cabal │ ├── src │ │ └── Lib.hs │ ├── stack.yaml.in │ └── test │ │ └── Spec.hs ├── target │ └── Cpp.hs └── template-haskell │ ├── Bar.hs │ ├── Foo.hs │ └── ImportsTH.hs ├── doctests.hs └── manual └── not-interpreted-error ├── GhcTestcase.hs ├── bad.gm ├── good.gm └── proj ├── Main.hs └── not-interpreted-error.cabal /.ghci: -------------------------------------------------------------------------------- 1 | :set -idist/build/autogen/ 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/.travis.yml -------------------------------------------------------------------------------- /COPYING.AGPL3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/COPYING.AGPL3 -------------------------------------------------------------------------------- /COPYING.BSD3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/COPYING.BSD3 -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/ChangeLog -------------------------------------------------------------------------------- /CodingStyle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/CodingStyle -------------------------------------------------------------------------------- /GhcMod.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Boot.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Boot.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Browse.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Browse.hs -------------------------------------------------------------------------------- /GhcMod/Exe/CaseSplit.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/CaseSplit.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Check.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Check.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Debug.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Debug.hs -------------------------------------------------------------------------------- /GhcMod/Exe/FillSig.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/FillSig.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Find.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Find.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Flag.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Flag.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Info.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Info.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Internal.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Lang.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Lang.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Lint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Lint.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Modules.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Modules.hs -------------------------------------------------------------------------------- /GhcMod/Exe/PkgDoc.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/PkgDoc.hs -------------------------------------------------------------------------------- /GhcMod/Exe/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/GhcMod/Exe/Test.hs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/README.md -------------------------------------------------------------------------------- /README_old.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/README_old.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/Setup.hs -------------------------------------------------------------------------------- /bench/Bench.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/bench/Bench.hs -------------------------------------------------------------------------------- /bench/data/simple-cabal/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/bench/data/simple-cabal/Main.hs -------------------------------------------------------------------------------- /bench/data/simple-cabal/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /bench/data/simple-cabal/simple-cabal.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/bench/data/simple-cabal/simple-cabal.cabal -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/cabal.project -------------------------------------------------------------------------------- /core/COPYING.AGPL3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/COPYING.AGPL3 -------------------------------------------------------------------------------- /core/COPYING.BSD3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/COPYING.BSD3 -------------------------------------------------------------------------------- /core/Data/Binary/Generic.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/Data/Binary/Generic.hs -------------------------------------------------------------------------------- /core/GhcMod/CabalHelper.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/CabalHelper.hs -------------------------------------------------------------------------------- /core/GhcMod/Caching.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Caching.hs -------------------------------------------------------------------------------- /core/GhcMod/Caching/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Caching/Types.hs -------------------------------------------------------------------------------- /core/GhcMod/Convert.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Convert.hs -------------------------------------------------------------------------------- /core/GhcMod/Cradle.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Cradle.hs -------------------------------------------------------------------------------- /core/GhcMod/CustomPackageDb.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/CustomPackageDb.hs -------------------------------------------------------------------------------- /core/GhcMod/DebugLogger.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/DebugLogger.hs -------------------------------------------------------------------------------- /core/GhcMod/Doc.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Doc.hs -------------------------------------------------------------------------------- /core/GhcMod/DynFlags.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/DynFlags.hs -------------------------------------------------------------------------------- /core/GhcMod/DynFlagsTH.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/DynFlagsTH.hs -------------------------------------------------------------------------------- /core/GhcMod/Error.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Error.hs -------------------------------------------------------------------------------- /core/GhcMod/FileMapping.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/FileMapping.hs -------------------------------------------------------------------------------- /core/GhcMod/Gap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Gap.hs -------------------------------------------------------------------------------- /core/GhcMod/GhcPkg.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/GhcPkg.hs -------------------------------------------------------------------------------- /core/GhcMod/HomeModuleGraph.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/HomeModuleGraph.hs -------------------------------------------------------------------------------- /core/GhcMod/LightGhc.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/LightGhc.hs -------------------------------------------------------------------------------- /core/GhcMod/Logger.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Logger.hs -------------------------------------------------------------------------------- /core/GhcMod/Logging.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Logging.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Compat.hs_h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Compat.hs_h -------------------------------------------------------------------------------- /core/GhcMod/Monad/Env.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Env.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Log.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Log.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Newtypes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Newtypes.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Orphans.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Orphans.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Out.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Out.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/State.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/State.hs -------------------------------------------------------------------------------- /core/GhcMod/Monad/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Monad/Types.hs -------------------------------------------------------------------------------- /core/GhcMod/Options/DocUtils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Options/DocUtils.hs -------------------------------------------------------------------------------- /core/GhcMod/Options/Help.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Options/Help.hs -------------------------------------------------------------------------------- /core/GhcMod/Options/Options.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Options/Options.hs -------------------------------------------------------------------------------- /core/GhcMod/Output.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Output.hs -------------------------------------------------------------------------------- /core/GhcMod/PathsAndFiles.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/PathsAndFiles.hs -------------------------------------------------------------------------------- /core/GhcMod/Pretty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Pretty.hs -------------------------------------------------------------------------------- /core/GhcMod/Read.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Read.hs -------------------------------------------------------------------------------- /core/GhcMod/SrcUtils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/SrcUtils.hs -------------------------------------------------------------------------------- /core/GhcMod/Stack.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Stack.hs -------------------------------------------------------------------------------- /core/GhcMod/Target.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Target.hs -------------------------------------------------------------------------------- /core/GhcMod/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Types.hs -------------------------------------------------------------------------------- /core/GhcMod/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/Utils.hs -------------------------------------------------------------------------------- /core/GhcMod/World.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcMod/World.hs -------------------------------------------------------------------------------- /core/GhcModCore.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/GhcModCore.hs -------------------------------------------------------------------------------- /core/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/LICENSE -------------------------------------------------------------------------------- /core/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /core/ghc-mod-core.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/ghc-mod-core.cabal -------------------------------------------------------------------------------- /core/shared/System/Directory/ModTime.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/shared/System/Directory/ModTime.hs -------------------------------------------------------------------------------- /core/shared/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/core/shared/Utils.hs -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/Makefile -------------------------------------------------------------------------------- /doc/bug.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/bug.piki -------------------------------------------------------------------------------- /doc/copyright.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/copyright.piki -------------------------------------------------------------------------------- /doc/emacs.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/emacs.piki -------------------------------------------------------------------------------- /doc/ghc-mod.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/ghc-mod.piki -------------------------------------------------------------------------------- /doc/ghc-modi.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/ghc-modi.piki -------------------------------------------------------------------------------- /doc/history.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/history.piki -------------------------------------------------------------------------------- /doc/index.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/index.piki -------------------------------------------------------------------------------- /doc/install.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/install.piki -------------------------------------------------------------------------------- /doc/preparation.piki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/preparation.piki -------------------------------------------------------------------------------- /doc/presentation/Rokkitt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/Rokkitt.otf -------------------------------------------------------------------------------- /doc/presentation/SIL Open Font License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/SIL Open Font License.txt -------------------------------------------------------------------------------- /doc/presentation/architecture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/architecture.pdf -------------------------------------------------------------------------------- /doc/presentation/architecture.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/architecture.tex -------------------------------------------------------------------------------- /doc/presentation/auto/main.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/auto/main.el -------------------------------------------------------------------------------- /doc/presentation/current-architecture.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/current-architecture.dia -------------------------------------------------------------------------------- /doc/presentation/current-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/current-architecture.png -------------------------------------------------------------------------------- /doc/presentation/gh-stars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/gh-stars.png -------------------------------------------------------------------------------- /doc/presentation/hackage-dls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/hackage-dls.png -------------------------------------------------------------------------------- /doc/presentation/logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/logo.pdf -------------------------------------------------------------------------------- /doc/presentation/main.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/main.pdf -------------------------------------------------------------------------------- /doc/presentation/main.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/main.tex -------------------------------------------------------------------------------- /doc/presentation/planned-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/doc/presentation/planned-architecture.png -------------------------------------------------------------------------------- /elisp/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/Makefile -------------------------------------------------------------------------------- /elisp/ghc-check.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-check.el -------------------------------------------------------------------------------- /elisp/ghc-command.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-command.el -------------------------------------------------------------------------------- /elisp/ghc-comp.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-comp.el -------------------------------------------------------------------------------- /elisp/ghc-doc.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-doc.el -------------------------------------------------------------------------------- /elisp/ghc-func.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-func.el -------------------------------------------------------------------------------- /elisp/ghc-indent.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-indent.el -------------------------------------------------------------------------------- /elisp/ghc-info.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-info.el -------------------------------------------------------------------------------- /elisp/ghc-ins-mod.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-ins-mod.el -------------------------------------------------------------------------------- /elisp/ghc-pkg.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-pkg.el -------------------------------------------------------------------------------- /elisp/ghc-process.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-process.el -------------------------------------------------------------------------------- /elisp/ghc-rewrite.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc-rewrite.el -------------------------------------------------------------------------------- /elisp/ghc.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/elisp/ghc.el -------------------------------------------------------------------------------- /ghc-mod.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/ghc-mod.cabal -------------------------------------------------------------------------------- /ghcmodHappyHaskellProgram-Dg.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/ghcmodHappyHaskellProgram-Dg.tex -------------------------------------------------------------------------------- /scripts/bounds.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/bounds.hs -------------------------------------------------------------------------------- /scripts/bump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/bump.sh -------------------------------------------------------------------------------- /scripts/collect-debug-info.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/collect-debug-info.sh -------------------------------------------------------------------------------- /scripts/compare-versions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/compare-versions.sh -------------------------------------------------------------------------------- /scripts/diff.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/diff.hs -------------------------------------------------------------------------------- /scripts/docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/docker.sh -------------------------------------------------------------------------------- /scripts/download-metadata.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/download-metadata.sh -------------------------------------------------------------------------------- /scripts/edit-bounds-macros.el: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/edit-bounds-macros.el -------------------------------------------------------------------------------- /scripts/extract-build-deps.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/extract-build-deps.hs -------------------------------------------------------------------------------- /scripts/extract-upload-date.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/extract-upload-date.sh -------------------------------------------------------------------------------- /scripts/upload-metadata.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/scripts/upload-metadata.hs -------------------------------------------------------------------------------- /shelltest/ShellTest.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/ShellTest.hs -------------------------------------------------------------------------------- /shelltest/browse.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse.test -------------------------------------------------------------------------------- /shelltest/browse/MyModule.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/MyModule.hs -------------------------------------------------------------------------------- /shelltest/browse/browse-project.testtpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/browse-project.testtpl -------------------------------------------------------------------------------- /shelltest/browse/cabal/MyModule.hs: -------------------------------------------------------------------------------- 1 | ../MyModule.hs -------------------------------------------------------------------------------- /shelltest/browse/cabal/browse-cabal.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/cabal/browse-cabal.cabal -------------------------------------------------------------------------------- /shelltest/browse/cabal/browse-cabal.test: -------------------------------------------------------------------------------- 1 | ../browse-project.testtpl -------------------------------------------------------------------------------- /shelltest/browse/plain/MyModule.hs: -------------------------------------------------------------------------------- 1 | ../MyModule.hs -------------------------------------------------------------------------------- /shelltest/browse/plain/browse-plain.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/plain/browse-plain.test -------------------------------------------------------------------------------- /shelltest/browse/sandbox/MyModule.hs: -------------------------------------------------------------------------------- 1 | ../MyModule.hs -------------------------------------------------------------------------------- /shelltest/browse/sandbox/browse-sandbox.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/sandbox/browse-sandbox.test -------------------------------------------------------------------------------- /shelltest/browse/sandbox/test-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/browse/sandbox/test-setup.sh -------------------------------------------------------------------------------- /shelltest/version.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/shelltest/version.test -------------------------------------------------------------------------------- /src/GhcMod/Exe/Options.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcMod/Exe/Options.hs -------------------------------------------------------------------------------- /src/GhcMod/Exe/Options/Commands.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcMod/Exe/Options/Commands.hs -------------------------------------------------------------------------------- /src/GhcMod/Exe/Options/ShellParse.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcMod/Exe/Options/ShellParse.hs -------------------------------------------------------------------------------- /src/GhcMod/Exe/Version.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcMod/Exe/Version.hs -------------------------------------------------------------------------------- /src/GhcModMain.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcModMain.hs -------------------------------------------------------------------------------- /src/GhcModi.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/src/GhcModi.hs -------------------------------------------------------------------------------- /test-elisp/inp.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test-elisp/inp.hs -------------------------------------------------------------------------------- /test-elisp/out.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test-elisp/out.hs -------------------------------------------------------------------------------- /test/BrowseSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/BrowseSpec.hs -------------------------------------------------------------------------------- /test/CabalHelperSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/CabalHelperSpec.hs -------------------------------------------------------------------------------- /test/CaseSplitSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/CaseSplitSpec.hs -------------------------------------------------------------------------------- /test/CheckSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/CheckSpec.hs -------------------------------------------------------------------------------- /test/CradleSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/CradleSpec.hs -------------------------------------------------------------------------------- /test/CustomPackageDbSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/CustomPackageDbSpec.hs -------------------------------------------------------------------------------- /test/Dir.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/Dir.hs -------------------------------------------------------------------------------- /test/FileMappingSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/FileMappingSpec.hs -------------------------------------------------------------------------------- /test/FindSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/FindSpec.hs -------------------------------------------------------------------------------- /test/FlagSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/FlagSpec.hs -------------------------------------------------------------------------------- /test/GhcPkgSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/GhcPkgSpec.hs -------------------------------------------------------------------------------- /test/HomeModuleGraphSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/HomeModuleGraphSpec.hs -------------------------------------------------------------------------------- /test/InfoSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/InfoSpec.hs -------------------------------------------------------------------------------- /test/LangSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/LangSpec.hs -------------------------------------------------------------------------------- /test/LintSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/LintSpec.hs -------------------------------------------------------------------------------- /test/ListSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/ListSpec.hs -------------------------------------------------------------------------------- /test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/Main.hs -------------------------------------------------------------------------------- /test/MonadSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/MonadSpec.hs -------------------------------------------------------------------------------- /test/PathsAndFilesSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/PathsAndFilesSpec.hs -------------------------------------------------------------------------------- /test/ShellParseSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/ShellParseSpec.hs -------------------------------------------------------------------------------- /test/TargetSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/TargetSpec.hs -------------------------------------------------------------------------------- /test/TestUtils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/TestUtils.hs -------------------------------------------------------------------------------- /test/data/annotations/With.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/annotations/With.hs -------------------------------------------------------------------------------- /test/data/broken-cabal/.cabal-sandbox/packages/00-index.cache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/broken-cabal/.cabal-sandbox/packages/00-index.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/broken-cabal/.cabal-sandbox/packages/00-index.tar -------------------------------------------------------------------------------- /test/data/broken-cabal/broken.cabal: -------------------------------------------------------------------------------- 1 | broken cabal 2 | -------------------------------------------------------------------------------- /test/data/broken-cabal/cabal.sandbox.config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/broken-cabal/cabal.sandbox.config.in -------------------------------------------------------------------------------- /test/data/broken-sandbox/cabal.sandbox.config: -------------------------------------------------------------------------------- 1 | broken 2 | -------------------------------------------------------------------------------- /test/data/broken-sandbox/dummy.cabal: -------------------------------------------------------------------------------- 1 | dummy 2 | -------------------------------------------------------------------------------- /test/data/cabal-flags/cabal-flags.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-flags/cabal-flags.cabal -------------------------------------------------------------------------------- /test/data/cabal-preprocessors/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-preprocessors/Main.hs -------------------------------------------------------------------------------- /test/data/cabal-preprocessors/Preprocessed.hsc: -------------------------------------------------------------------------------- 1 | module Preprocessed where 2 | 3 | warning = () 4 | -------------------------------------------------------------------------------- /test/data/cabal-preprocessors/cabal-preprocessors.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-preprocessors/cabal-preprocessors.cabal -------------------------------------------------------------------------------- /test/data/cabal-project/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/Cabal-1.18.1.3-2b161c6bf77657aa17e1681d83cb051b.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/Cabal-1.18.1.3-2b161c6bf77657aa17e1681d83cb051b.conf -------------------------------------------------------------------------------- /test/data/cabal-project/.cabal-sandbox/packages/00-index.cache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/cabal-project/.cabal-sandbox/packages/00-index.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/.cabal-sandbox/packages/00-index.tar -------------------------------------------------------------------------------- /test/data/cabal-project/Baz.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/Baz.hs -------------------------------------------------------------------------------- /test/data/cabal-project/Foo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/Foo.hs -------------------------------------------------------------------------------- /test/data/cabal-project/Info.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/Info.hs -------------------------------------------------------------------------------- /test/data/cabal-project/Main.hs: -------------------------------------------------------------------------------- 1 | import Bar (bar) 2 | 3 | main = putStrLn bar 4 | -------------------------------------------------------------------------------- /test/data/cabal-project/cabal.sandbox.config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/cabal.sandbox.config.in -------------------------------------------------------------------------------- /test/data/cabal-project/cabalapi.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/cabal-project/cabalapi.cabal -------------------------------------------------------------------------------- /test/data/cabal-project/subdir1/subdir2/dummy: -------------------------------------------------------------------------------- 1 | dummy 2 | -------------------------------------------------------------------------------- /test/data/case-split/Crash.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/case-split/Crash.hs -------------------------------------------------------------------------------- /test/data/case-split/Vect.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/case-split/Vect.hs -------------------------------------------------------------------------------- /test/data/case-split/Vect706.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/case-split/Vect706.hs -------------------------------------------------------------------------------- /test/data/check-missing-warnings/DesugarWarnings.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-missing-warnings/DesugarWarnings.hs -------------------------------------------------------------------------------- /test/data/check-packageid/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-packageid/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf -------------------------------------------------------------------------------- /test/data/check-packageid/cabal.sandbox.config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-packageid/cabal.sandbox.config.in -------------------------------------------------------------------------------- /test/data/check-test-subdir/check-test-subdir.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-test-subdir/check-test-subdir.cabal -------------------------------------------------------------------------------- /test/data/check-test-subdir/src/Check/Test/Subdir.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-test-subdir/src/Check/Test/Subdir.hs -------------------------------------------------------------------------------- /test/data/check-test-subdir/test/Bar/Baz.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-test-subdir/test/Bar/Baz.hs -------------------------------------------------------------------------------- /test/data/check-test-subdir/test/Foo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-test-subdir/test/Foo.hs -------------------------------------------------------------------------------- /test/data/check-test-subdir/test/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/check-test-subdir/test/Main.hs -------------------------------------------------------------------------------- /test/data/custom-cradle/custom-cradle.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/custom-cradle/custom-cradle.cabal -------------------------------------------------------------------------------- /test/data/custom-cradle/ghc-mod.package-db-stack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/custom-cradle/ghc-mod.package-db-stack -------------------------------------------------------------------------------- /test/data/custom-cradle/package-db-a/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/custom-cradle/package-db-b/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/custom-cradle/package-db-c/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-1.0-7c59d13f32294d1ef6dc6233c24df961.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-1.0-7c59d13f32294d1ef6dc6233c24df961.conf -------------------------------------------------------------------------------- /test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-14e543bdae2da4d2aeff5386892c9112.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-14e543bdae2da4d2aeff5386892c9112.conf -------------------------------------------------------------------------------- /test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf -------------------------------------------------------------------------------- /test/data/duplicate-pkgver/cabal.sandbox.config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/duplicate-pkgver/cabal.sandbox.config.in -------------------------------------------------------------------------------- /test/data/duplicate-pkgver/duplicate-pkgver.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/duplicate-pkgver/duplicate-pkgver.cabal -------------------------------------------------------------------------------- /test/data/file-mapping/File.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/File.hs -------------------------------------------------------------------------------- /test/data/file-mapping/File_Redir.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn "Hello World!" 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/File_Redir_Lint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/File_Redir_Lint.hs -------------------------------------------------------------------------------- /test/data/file-mapping/duplicate-main/Main.hs: -------------------------------------------------------------------------------- 1 | main = return () 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/duplicate-main/Main_Redir.hs: -------------------------------------------------------------------------------- 1 | main = return () 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/duplicate-main/OtherMain.hs: -------------------------------------------------------------------------------- 1 | main = return () 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/duplicate-main/OtherMain_Redir.hs: -------------------------------------------------------------------------------- 1 | main = return () 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/duplicate-main/duplicate-main.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/duplicate-main/duplicate-main.cabal -------------------------------------------------------------------------------- /test/data/file-mapping/lhs/File.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/lhs/File.lhs -------------------------------------------------------------------------------- /test/data/file-mapping/lhs/File_Redir.lhs: -------------------------------------------------------------------------------- 1 | > main = putStrLn "Hello World!" 2 | -------------------------------------------------------------------------------- /test/data/file-mapping/lhs/File_Redir_Lint.lhs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/lhs/File_Redir_Lint.lhs -------------------------------------------------------------------------------- /test/data/file-mapping/preprocessor/File.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/preprocessor/File.hs -------------------------------------------------------------------------------- /test/data/file-mapping/preprocessor/File_Redir.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE CPP #-} 2 | #ifndef NOTHING 3 | main = putStrLn "Hello World!" 4 | #else 5 | INVALID 6 | #endif 7 | -------------------------------------------------------------------------------- /test/data/file-mapping/preprocessor/File_Redir_Lint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/file-mapping/preprocessor/File_Redir_Lint.hs -------------------------------------------------------------------------------- /test/data/foreign-export/ForeignExport.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/foreign-export/ForeignExport.hs -------------------------------------------------------------------------------- /test/data/ghc-mod-check/ghc-mod-check.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/ghc-mod-check/ghc-mod-check.cabal -------------------------------------------------------------------------------- /test/data/ghc-mod-check/lib/Data/Foo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/ghc-mod-check/lib/Data/Foo.hs -------------------------------------------------------------------------------- /test/data/ghc-mod-check/main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/ghc-mod-check/main.hs -------------------------------------------------------------------------------- /test/data/hlint/hlint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/hlint/hlint.hs -------------------------------------------------------------------------------- /test/data/home-module-graph/cpp/A.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/home-module-graph/cpp/A.hs -------------------------------------------------------------------------------- /test/data/home-module-graph/cpp/A1.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE CPP #-} 2 | module A1 where 3 | #elif 4 | import B 5 | -------------------------------------------------------------------------------- /test/data/home-module-graph/cpp/A2.hs: -------------------------------------------------------------------------------- 1 | module A2 where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/cpp/A3.hs: -------------------------------------------------------------------------------- 1 | module A3 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/cpp/B.hs: -------------------------------------------------------------------------------- 1 | module B where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/cycle/A.hs: -------------------------------------------------------------------------------- 1 | module A where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/cycle/B.hs: -------------------------------------------------------------------------------- 1 | module B where 2 | import A 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/errors/A.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/home-module-graph/errors/A.hs -------------------------------------------------------------------------------- /test/data/home-module-graph/errors/A1.hs: -------------------------------------------------------------------------------- 1 | module A1 where 2 | psogduapzs9 3 | import B 4 | lx,vLMCks 5 | -------------------------------------------------------------------------------- /test/data/home-module-graph/errors/A2.hs: -------------------------------------------------------------------------------- 1 | module A2 where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/errors/A3.hs: -------------------------------------------------------------------------------- 1 | module A3 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/errors/B.hs: -------------------------------------------------------------------------------- 1 | module B where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/A.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/home-module-graph/indirect-update/A.hs -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/A1.hs: -------------------------------------------------------------------------------- 1 | module A1 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/A2.hs: -------------------------------------------------------------------------------- 1 | module A2 where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/A3.hs: -------------------------------------------------------------------------------- 1 | module A3 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/B.hs: -------------------------------------------------------------------------------- 1 | module B where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect-update/C.hs: -------------------------------------------------------------------------------- 1 | module C where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/A.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/home-module-graph/indirect/A.hs -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/A1.hs: -------------------------------------------------------------------------------- 1 | module A1 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/A2.hs: -------------------------------------------------------------------------------- 1 | module A2 where 2 | import C 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/A3.hs: -------------------------------------------------------------------------------- 1 | module A3 where 2 | import B 3 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/B.hs: -------------------------------------------------------------------------------- 1 | module B where 2 | -------------------------------------------------------------------------------- /test/data/home-module-graph/indirect/C.hs: -------------------------------------------------------------------------------- 1 | module C where 2 | -------------------------------------------------------------------------------- /test/data/import-cycle/Mutual1.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/import-cycle/Mutual1.hs -------------------------------------------------------------------------------- /test/data/import-cycle/Mutual2.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/import-cycle/Mutual2.hs -------------------------------------------------------------------------------- /test/data/nice-qualification/NiceQualification.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/nice-qualification/NiceQualification.hs -------------------------------------------------------------------------------- /test/data/non-exported/Fib.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/non-exported/Fib.hs -------------------------------------------------------------------------------- /test/data/pattern-synonyms/A.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/pattern-synonyms/A.hs -------------------------------------------------------------------------------- /test/data/pattern-synonyms/B.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/pattern-synonyms/B.hs -------------------------------------------------------------------------------- /test/data/pattern-synonyms/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /test/data/pattern-synonyms/pattern-synonyms.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/pattern-synonyms/pattern-synonyms.cabal -------------------------------------------------------------------------------- /test/data/quasi-quotes/FooQ.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/quasi-quotes/FooQ.hs -------------------------------------------------------------------------------- /test/data/quasi-quotes/QuasiQuotes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/quasi-quotes/QuasiQuotes.hs -------------------------------------------------------------------------------- /test/data/stack-project/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /test/data/stack-project/app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/stack-project/app/Main.hs -------------------------------------------------------------------------------- /test/data/stack-project/new-template.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/stack-project/new-template.cabal -------------------------------------------------------------------------------- /test/data/stack-project/src/Lib.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/stack-project/src/Lib.hs -------------------------------------------------------------------------------- /test/data/stack-project/stack.yaml.in: -------------------------------------------------------------------------------- 1 | flags: {} 2 | packages: 3 | - '.' 4 | extra-deps: [] 5 | -------------------------------------------------------------------------------- /test/data/stack-project/test/Spec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/stack-project/test/Spec.hs -------------------------------------------------------------------------------- /test/data/target/Cpp.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/target/Cpp.hs -------------------------------------------------------------------------------- /test/data/template-haskell/Bar.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/template-haskell/Bar.hs -------------------------------------------------------------------------------- /test/data/template-haskell/Foo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/data/template-haskell/Foo.hs -------------------------------------------------------------------------------- /test/data/template-haskell/ImportsTH.hs: -------------------------------------------------------------------------------- 1 | import Bar (bar) 2 | 3 | main = putStrLn bar 4 | -------------------------------------------------------------------------------- /test/doctests.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/doctests.hs -------------------------------------------------------------------------------- /test/manual/not-interpreted-error/GhcTestcase.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/manual/not-interpreted-error/GhcTestcase.hs -------------------------------------------------------------------------------- /test/manual/not-interpreted-error/bad.gm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/manual/not-interpreted-error/bad.gm -------------------------------------------------------------------------------- /test/manual/not-interpreted-error/good.gm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/manual/not-interpreted-error/good.gm -------------------------------------------------------------------------------- /test/manual/not-interpreted-error/proj/Main.hs: -------------------------------------------------------------------------------- 1 | module Main where 2 | 3 | import A 4 | 5 | main = print foo 6 | -------------------------------------------------------------------------------- /test/manual/not-interpreted-error/proj/not-interpreted-error.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielG/ghc-mod/HEAD/test/manual/not-interpreted-error/proj/not-interpreted-error.cabal --------------------------------------------------------------------------------