ghc-lib
The GHC API, decoupled from GHC versions
https://github.com/digital-asset/ghc-lib
| Version on this page: | 8.10.2.20200916 | 
| LTS Haskell 24.18: | 9.12.2.20250421 | 
| Stackage Nightly 2025-11-04: | 9.12.2.20250421 | 
| Latest on Hackage: | 9.12.2.20250421 | 
Maintained by Digital Asset
This version can be pinned in stack with:
ghc-lib-8.10.2.20200916@sha256:d12cfa1a28092ac7f72f83f046f1535ca9237403808d7a8e6aecdf18c2a73a7e,15350Module documentation for 8.10.2.20200916
- Ar
 - AsmCodeGen
 - AsmUtils
 - BinIface
 - Bitmap
 - BlockId
 - BlockLayout
 - BuildTyCl
 - ByteCodeAsm
 - ByteCodeGen
 - ByteCodeInstr
 - ByteCodeItbls
 - ByteCodeLink
 - CFG
 - CLabel
 - CPrim
 - CSE
 - CallArity
 - ClsInst
 - Cmm
 - CmmBuildInfoTables
 - CmmCallConv
 - CmmCommonBlockElim
 - CmmContFlowOpt
 - CmmExpr
 - CmmImplementSwitchPlans
 - CmmInfo
 - CmmLayoutStack
 - CmmLex
 - CmmLint
 - CmmLive
 - CmmMachOp
 - CmmMonad
 - CmmNode
 - CmmOpt
 - CmmParse
 - CmmPipeline
 - CmmProcPoint
 - CmmSink
 - CmmSwitch
 - CmmUtils
 - CodeOutput
 - CoreLint
 - CorePrep
 - CoreToStg
 - Coverage
 - Debug
 - Debugger
 - Desugar
 - DmdAnal
 - Dominators
 - DriverBkp
 - DriverMkDepend
 - DriverPipeline
 - DsArrows
 - DsBinds
 - DsCCall
 - DsExpr
 - DsForeign
 - DsGRHSs
 - DsListComp
 - DsMeta
 - DsMonad
 - DsUsage
 - DsUtils
 - Dwarf
 - DynamicLoading
 - Elf
 - Exitify
 - ExtractDocs
 - FamInst
 - Finder
 - FlagChecker
 - FloatIn
 - FloatOut
 - Format
 - FunDeps
 - GHC
- GHC.HandleEncoding
 - GHC.HsToCore
 - GHC.Platform
 - GHC.Settings
 - GHC.StgToCmm
- GHC.StgToCmm.ArgRep
 - GHC.StgToCmm.Bind
 - GHC.StgToCmm.CgUtils
 - GHC.StgToCmm.Closure
 - GHC.StgToCmm.DataCon
 - GHC.StgToCmm.Env
 - GHC.StgToCmm.Expr
 - GHC.StgToCmm.ExtCode
 - GHC.StgToCmm.Foreign
 - GHC.StgToCmm.Heap
 - GHC.StgToCmm.Hpc
 - GHC.StgToCmm.Layout
 - GHC.StgToCmm.Monad
 - GHC.StgToCmm.Prim
 - GHC.StgToCmm.Prof
 - GHC.StgToCmm.Ticky
 - GHC.StgToCmm.Utils
 
 - GHC.ThToHs
 
 - GHCi
 - GhcMake
 - GhcPlugins
 - GraphBase
 - GraphColor
 - GraphOps
 - GraphPpr
 - HieAst
 - HieBin
 - HieDebug
 - HieTypes
 - HieUtils
 - Hoopl
 - HscMain
 - HscStats
 - IfaceEnv
 - Inst
 - Instruction
 - InteractiveEval
 - Language
- Language.Haskell
- Language.Haskell.TH
 
 
 - Language.Haskell
 - LiberateCase
 - Linker
 - Llvm
 - LlvmCodeGen
 - LlvmMangler
 - LoadIface
 - Match
 - MatchCon
 - MatchLit
 - MkGraph
 - MkIface
 - NCGMonad
 - NameShape
 - PIC
 - PPC
 - Paths_ghc_lib
 - PprBase
 - PprC
 - PprCmm
 - PprCmmDecl
 - PprCmmExpr
 - PprTyThing
 - PrelInfo
 - ProfInit
 - Reg
 - RegAlloc
- RegAlloc.Graph
 - RegAlloc.Linear
- RegAlloc.Linear.Base
 - RegAlloc.Linear.FreeRegs
 - RegAlloc.Linear.JoinToTargets
 - RegAlloc.Linear.Main
 - RegAlloc.Linear.PPC
 - RegAlloc.Linear.SPARC
 - RegAlloc.Linear.StackMap
 - RegAlloc.Linear.State
 - RegAlloc.Linear.Stats
 - RegAlloc.Linear.X86
 - RegAlloc.Linear.X86_64
 
 - RegAlloc.Liveness
 
 - RegClass
 - RnBinds
 - RnEnv
 - RnExpr
 - RnFixity
 - RnHsDoc
 - RnModIface
 - RnNames
 - RnPat
 - RnSource
 - RnSplice
 - RnTypes
 - RnUnbound
 - RnUtils
 - RtClosureInspect
 - SAT
 - SMRep
 - SPARC
 - SetLevels
 - SimplCore
 - SimplEnv
 - SimplMonad
 - SimplStg
 - SimplUtils
 - Simplify
 - SpecConstr
 - Specialise
 - State
 - StaticPtrTable
 - StgCse
 - StgFVs
 - StgLiftLams
 - StgLint
 - StgStats
 - StgSubst
 - StgSyn
 - Stream
 - SysTools
 - THNames
 - TargetReg
 - TcAnnotations
 - TcArrows
 - TcBackpack
 - TcBinds
 - TcCanonical
 - TcClassDcl
 - TcDefaults
 - TcDeriv
 - TcDerivInfer
 - TcDerivUtils
 - TcEnv
 - TcErrors
 - TcEvTerm
 - TcExpr
 - TcFlatten
 - TcForeign
 - TcGenDeriv
 - TcGenFunctor
 - TcGenGenerics
 - TcHoleErrors
 - TcHsSyn
 - TcHsType
 - TcIface
 - TcInstDcls
 - TcInteract
 - TcMType
 - TcMatches
 - TcPat
 - TcPatSyn
 - TcPluginM
 - TcRnDriver
 - TcRnExports
 - TcRnMonad
 - TcRules
 - TcSMonad
 - TcSigs
 - TcSimplify
 - TcSplice
 - TcTyClsDecls
 - TcTyDecls
 - TcTypeNats
 - TcTypeable
 - TcUnify
 - TcValidity
 - TidyPgm
 - UnVarGraph
 - UnariseStg
 - UniqMap
 - WorkWrap
 - WwLib
 - X86
 
Depends on 16 packages(full list with versions):
array, base, binary, bytestring, containers, deepseq, directory, filepath, ghc-lib-parser, ghc-prim, hpc, pretty, process, time, transformers, unix