language23 active rulesVerified 2026-09-30
Haskell .gitignore Template
Haskell Stack, Cabal dist directories, GHC object files, and hi files. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with Haskell/
Search for templates
Quick add:
Selected1
Haskell
Selected Templates (1)
Haskell
language
Haskell Stack, Cabal dist directories, GHC object files, and hi files
#haskell#cabal#stack
.gitignore
23 rules•1 template
### Haskell ###distdist-*cabal-dev*.o*.hi*.hie*.chi*.chs.h*.dyn_o*.dyn_hi.hpc.hsenv.cabal-sandbox/cabal.sandbox.config*.prof*.aux*.hp*.eventlog.stack-work/cabal.project.localcabal.project.local~.HTF/.ghc.environment.* 25 lines•UTF-8•LF
Deterministic
Raw Haskell .gitignore
Crawlable upstream source templatehaskell.gitignore•24 lines•UTF-8
distdist-*cabal-dev*.o*.hi*.hie*.chi*.chs.h*.dyn_o*.dyn_hi.hpc.hsenv.cabal-sandbox/cabal.sandbox.config*.prof*.aux*.hp*.eventlog.stack-work/cabal.project.localcabal.project.local~.HTF/.ghc.environment.* Key Pattern Breakdown
Build Outputs & Compiled Artifacts
Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.
distdist-**.o*.aux
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
.ghc.environment.*
Source & Verification
Source: GitHub gitignore (main)
License: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.