Use a ReaderT in TcDeriv to avoid some tedious plumbing
[ghc.git] / .gitignore
index 2bbf800..f2d4be5 100644 (file)
@@ -5,12 +5,15 @@ Thumbs.db
 .DS_Store
 
 *~
+*#
 #*#
 *.bak
 *.BAK
 *.orig
 *.prof
 *.rej
+*.patch
+*.stackdump
 
 *.hi
 *.hi-boot
@@ -25,6 +28,11 @@ Thumbs.db
 *.a
 *.o.cmd
 *.depend*
+*.dyn_o
+*.dyn_hi
+__pycache__
+*.SYMDEF*
+
 log
 tags
 
@@ -33,6 +41,16 @@ config.log
 config.status
 configure
 
+# Temporarily generated configure files
+confdefs.h
+
+# Hadrian files
+stage0
+stage1
+stage2
+_build
+hadrian
+
 # -----------------------------------------------------------------------------
 # Ignore any overlapped darcs repos and back up files
 
@@ -43,46 +61,29 @@ _darcs/
 # sub-repositories
 
 /ghc-tarballs/
-/libraries/Cabal/
-/libraries/Win32/
-/libraries/array/
-/libraries/base/
-/libraries/binary/
-/libraries/bytestring/
-/libraries/containers/
-/libraries/deepseq/
-/libraries/directory/
-/libraries/dph/
-/libraries/extensible-exceptions/
-/libraries/filepath/
-/libraries/ghc-prim/
-/libraries/haskeline/
-/libraries/haskell2010/
-/libraries/haskell98/
-/libraries/hoopl/
-/libraries/hpc/
-/libraries/integer-gmp/
-/libraries/integer-simple/
-/libraries/mtl/
-/libraries/old-locale/
-/libraries/old-time/
-/libraries/parallel/
-/libraries/pretty/
-/libraries/primitive/
-/libraries/process/
-/libraries/random/
-/libraries/stm/
-/libraries/template-haskell/
-/libraries/terminfo/
-/libraries/transformers
-/libraries/unix/
-/libraries/utf8-string/
-/libraries/vector/
-/libraries/xhtml/
-/nofib/
-/testsuite/
-/utils/haddock/
-/utils/hsc2hs/
+
+# -----------------------------------------------------------------------------
+# Cabal dist directories
+
+/driver/ghc/dist/
+/driver/haddock/dist/
+/driver/ghci/dist/
+/driver/split/dist/
+/includes/dist-*/
+/libffi/dist-install/
+/libraries/*/dist-boot/
+/libraries/*/dist-install/
+/libraries/dist-haddock/
+/rts/dist/
+/utils/*/dist*/
+/compiler/stage1/
+/compiler/stage2/
+/compiler/stage3/
+/ghc/stage1/
+/ghc/stage2/
+/ghc/stage3/
+/iserv/stage2*/
+/iserv/dist/
 
 # -----------------------------------------------------------------------------
 # specific generated files
@@ -91,75 +92,40 @@ _darcs/
 /bindistprep/
 /bindisttest/HelloWorld
 /bindisttest/
+/bootstrapping/
 /ch01.html
 /ch02.html
-/compiler/cmm/CmmLex.hs
-/compiler/cmm/CmmParse.hs
+/compiler/dist/
 /compiler/ghc.cabal
 /compiler/ghc.cabal.old
-/compiler/ghci/LibFFI.hs
-/compiler/ghci/LibFFI_hsc.c
-/compiler/main/Config.hs
-/compiler/main/ParsePkgConf.hs
-/compiler/parser/HaddockLex.hs
-/compiler/parser/HaddockParse.hs
-/compiler/parser/Lexer.hs
-/compiler/parser/Parser.hs
-/compiler/parser/Parser.y
-/compiler/parser/ParserCore.hs
-/compiler/prelude/primops.txt
-/compiler/primop*incl
-/compiler/stage1/
-/compiler/stage2/
-/compiler/stage3/
-/compiler/utils/Fingerprint.hs
-/compiler/utils/Fingerprint_hsc.c
-/distrib/MacOS/GHC-system.pmdoc/index.xml
-/distrib/MacOS/installer-scripts/Uninstaller
-/distrib/MacOS/installer-scripts/create-links
 /distrib/configure.ac
 /distrib/ghc.iss
+/docs/man
 /docs/index.html
-/docs/man/flags.xml
-/docs/man/flags.xsl
-/docs/man/ghc.1
-/docs/users_guide/ug-book.xml
-/docs/users_guide/ug-ent.xml
-/docs/users_guide/users_guide.xml
+/docs/users_guide/users_guide
+/docs/users_guide/ghc.1
+/docs/users_guide/*.gen.rst
+/docs/users_guide/ghc_config.py
+/docs/users_guide/ghc_config.pyc
 /docs/users_guide/users_guide.pdf
-/docs/users_guide/users_guide.ps
-/docs/users_guide/users_guide/
-/docs/users_guide/what_glasgow_exts_does.gen.xml
-/driver/ghc/dist/
-/driver/haddock/dist/
+/docs/users_guide/build-html
+/docs/users_guide/build-pdf
+/docs/users_guide/build-man
+/docs/users_guide/.doctrees-*
+/docs/users_guide/.doctrees/
 /driver/ghci/ghc-pkg-inplace
 /driver/ghci/ghci-inplace
-/driver/ghci/dist/
 /driver/ghci/ghci.res
-/driver/mangler/dist/ghc-asm
-/driver/mangler/dist/ghc-asm.prl
 /driver/package.conf
 /driver/package.conf.inplace.old
-/driver/split/dist/ghc-split
-/driver/split/dist/ghc-split.prl
-/driver/stamp-pkg-conf-rts
 /settings
 /ghc.spec
 /ghc/ghc-bin.cabal
-/ghc/stage1/
-/ghc/stage2/
-/ghc/stage3/
-/includes/DerivedConstants.h
-/includes/GHCConstants.h
-/includes/dist-*/
 /includes/ghcautoconf.h
 /includes/ghcplatform.h
-/includes/mkDerivedConstantsHdr
-/includes/mkGHCConstants
-/inplace-datadir/
+/includes/ghcversion.h
 /index.html
 /inplace/
-/libffi/dist-install/
 /libffi/build/
 /libffi/ffi.h
 /libffi/package.conf.inplace
@@ -167,12 +133,19 @@ _darcs/
 /libffi/stamp*
 /libffi/package.conf.install
 /libffi/package.conf.install.raw
-/libraries/bin-package-db/GNUmakefile
-/libraries/bin-package-db/ghc.mk
 /libraries/bootstrapping.conf
 /libraries/prologue.txt
 /libraries/doc-index*.html
 /libraries/frames.html
+/libraries/ghc-boot/GNUmakefile
+/libraries/ghc-boot/ghc-boot.cabal
+/libraries/ghc-boot/ghc.mk
+/libraries/ghc-boot-th/GNUmakefile
+/libraries/ghc-boot-th/ghc-boot-th.cabal
+/libraries/ghc-boot-th/ghc.mk
+/libraries/ghci/GNUmakefile
+/libraries/ghci/ghci.cabal
+/libraries/ghci/ghc.mk
 /libraries/haddock-util.js
 /libraries/hslogo-16.png
 /libraries/index-frames.html
@@ -182,10 +155,7 @@ _darcs/
 /libraries/plus.gif
 /libraries/synopsis.png
 /libraries/stamp/
-/libraries/time/
-/libraries/*/dist-boot/
-/libraries/*/dist-install/
-/libraries/dist-haddock/
+/linter.log
 /mk/are-validating.mk
 /mk/build.mk
 /mk/config.h
@@ -195,51 +165,32 @@ _darcs/
 /mk/install.mk
 /mk/project.mk
 /mk/project.mk.old
-/mk/stamp-h
 /mk/validate.mk
-/rts/dist/
-/rts/AutoApply.*cmm
 /rts/package.conf.inplace
 /rts/package.conf.inplace.raw
-/rts/sm/Evac_thr.c
-/rts/sm/Scav_thr.c
 /rts/package.conf.install
 /rts/package.conf.install.raw
 /stage3.package.conf
-/testsuite_summary.txt
-/testlog
-/utils/*/dist*/
-/utils/ext-core/Driver
-/utils/ext-core/PrimEnv.hs
-/utils/genapply/genapply
-/utils/genprimopcode/Lexer.hs
-/utils/genprimopcode/Parser.hs
-/utils/genprimopcode/genprimopcode
-/utils/ghc-pkg/Version.hs
-/utils/ghc-pkg/ghc-pkg-inplace
-/utils/ghc-pkg/ghc-pkg-inplace.bin
-/utils/ghc-pkg/ghc-pkg-inplace.hs
-/utils/ghc-pkg/ghc-pkg.bin
-/utils/ghc-pwd/dist-boot/ghc-pwd
-/utils/hasktags/hasktags
-/utils/hasktags/hasktags-inplace
-/utils/hp2ps/hp2ps
-/utils/hpc/HpcParser.hs
-/utils/lndir/lndir
-/utils/mkdependC/mkdependC
-/utils/mkdirhier/mkdirhier
-/utils/prof/cgprof/cgprof
-/utils/prof/ghcprof-inplace
-/utils/pwd/pwd
-/utils/pwd/pwd-inplace
-/utils/runghc/runghc
-/utils/runghc/runghc-inplace
+/testsuite_summary*.txt
+/testsuite*.xml
+/testlog*
+/utils/mkUserGuidePart/mkUserGuidePart.cabal
 /utils/runghc/runghc.cabal
-/utils/runghc/runhaskell
-/utils/runstdtest/runstdtest
-/utils/unlit/unlit
-
 
 /extra-gcc-opts
+/sdistprep
 
 .tm_properties
+VERSION
+GIT_COMMIT_ID
+
+# -------------------------------------------------------------------------------------
+# when using a docker image, one can mount the source code directory as the home folder
+# -------------------------------------------------------------------------------------
+.arcrc
+.ghc
+.bash_history
+.gitconfig
+
+# Should be equal to testdir_suffix from testsuite/driver/testlib.py.
+*.run