ghc-lib: The GHC API, decoupled from GHC versions
A package equivalent to the ghc
package, but which can be loaded on many compiler versions.
Modules
- ApiAnnotation
- Ar
- AsmUtils
- Bag
- BinFingerprint
- Binary
- BooleanFormula
- BufWrite
- BuildTyCl
- CliOption
- ClsInst
- Config
- Constants
- Constraint
- Ctype
- Digraph
- Elf
- Encoding
- EnumSet
- ErrUtils
- Exception
- FV
- FamInst
- FastFunctions
- FastMutInt
- FastString
- FastStringEnv
- FileCleanup
- FileSettings
- Fingerprint
- FiniteMap
- FlagChecker
- FunDeps
- GHC
- GHC.BaseDir
- ByteCode
- GHC.ByteCode.Asm
- GHC.ByteCode.InfoTable
- GHC.ByteCode.Instr
- GHC.ByteCode.Linker
- GHC.ByteCode.Types
- GHC.Cmm
- GHC.Cmm.BlockId
- GHC.Cmm.CLabel
- GHC.Cmm.CallConv
- GHC.Cmm.CommonBlockElim
- GHC.Cmm.ContFlowOpt
- GHC.Cmm.Dataflow
- GHC.Cmm.Dataflow.Block
- GHC.Cmm.Dataflow.Collections
- GHC.Cmm.Dataflow.Graph
- GHC.Cmm.Dataflow.Label
- GHC.Cmm.DebugBlock
- GHC.Cmm.Expr
- GHC.Cmm.Graph
- GHC.Cmm.Info
- GHC.Cmm.Info.Build
- GHC.Cmm.LayoutStack
- GHC.Cmm.Lexer
- GHC.Cmm.Lint
- GHC.Cmm.Liveness
- GHC.Cmm.MachOp
- GHC.Cmm.Monad
- GHC.Cmm.Node
- GHC.Cmm.Opt
- GHC.Cmm.Parser
- GHC.Cmm.Pipeline
- GHC.Cmm.Ppr
- GHC.Cmm.Ppr.Decl
- GHC.Cmm.Ppr.Expr
- GHC.Cmm.ProcPoint
- GHC.Cmm.Sink
- GHC.Cmm.Switch
- GHC.Cmm.Switch.Implement
- GHC.Cmm.Type
- GHC.Cmm.Utils
- GHC.CmmToAsm
- GHC.CmmToAsm.BlockLayout
- GHC.CmmToAsm.CFG
- GHC.CmmToAsm.CFG.Dominators
- GHC.CmmToAsm.CPrim
- GHC.CmmToAsm.Config
- GHC.CmmToAsm.Dwarf
- GHC.CmmToAsm.Dwarf.Constants
- GHC.CmmToAsm.Dwarf.Types
- GHC.CmmToAsm.Format
- GHC.CmmToAsm.Instr
- GHC.CmmToAsm.Monad
- GHC.CmmToAsm.PIC
- PPC
- GHC.CmmToAsm.PPC.CodeGen
- GHC.CmmToAsm.PPC.Cond
- GHC.CmmToAsm.PPC.Instr
- GHC.CmmToAsm.PPC.Ppr
- GHC.CmmToAsm.PPC.RegInfo
- GHC.CmmToAsm.PPC.Regs
- GHC.CmmToAsm.Ppr
- Reg
- GHC.CmmToAsm.Reg.Graph
- GHC.CmmToAsm.Reg.Graph.Base
- GHC.CmmToAsm.Reg.Graph.Coalesce
- GHC.CmmToAsm.Reg.Graph.Spill
- GHC.CmmToAsm.Reg.Graph.SpillClean
- GHC.CmmToAsm.Reg.Graph.SpillCost
- GHC.CmmToAsm.Reg.Graph.Stats
- GHC.CmmToAsm.Reg.Graph.TrivColorable
- GHC.CmmToAsm.Reg.Graph.X86
- GHC.CmmToAsm.Reg.Linear
- GHC.CmmToAsm.Reg.Linear.Base
- GHC.CmmToAsm.Reg.Linear.FreeRegs
- GHC.CmmToAsm.Reg.Linear.JoinToTargets
- GHC.CmmToAsm.Reg.Linear.PPC
- GHC.CmmToAsm.Reg.Linear.SPARC
- GHC.CmmToAsm.Reg.Linear.StackMap
- GHC.CmmToAsm.Reg.Linear.State
- GHC.CmmToAsm.Reg.Linear.Stats
- GHC.CmmToAsm.Reg.Linear.X86
- GHC.CmmToAsm.Reg.Linear.X86_64
- GHC.CmmToAsm.Reg.Liveness
- GHC.CmmToAsm.Reg.Target
- GHC.CmmToAsm.Reg.Graph
- SPARC
- GHC.CmmToAsm.SPARC.AddrMode
- GHC.CmmToAsm.SPARC.Base
- GHC.CmmToAsm.SPARC.CodeGen
- GHC.CmmToAsm.SPARC.CodeGen.Amode
- GHC.CmmToAsm.SPARC.CodeGen.Base
- GHC.CmmToAsm.SPARC.CodeGen.CondCode
- GHC.CmmToAsm.SPARC.CodeGen.Expand
- GHC.CmmToAsm.SPARC.CodeGen.Gen32
- GHC.CmmToAsm.SPARC.CodeGen.Gen64
- GHC.CmmToAsm.SPARC.CodeGen.Sanity
- GHC.CmmToAsm.SPARC.Cond
- GHC.CmmToAsm.SPARC.Imm
- GHC.CmmToAsm.SPARC.Instr
- GHC.CmmToAsm.SPARC.Ppr
- GHC.CmmToAsm.SPARC.Regs
- GHC.CmmToAsm.SPARC.ShortcutJump
- GHC.CmmToAsm.SPARC.Stack
- X86
- GHC.CmmToAsm.X86.CodeGen
- GHC.CmmToAsm.X86.Cond
- GHC.CmmToAsm.X86.Instr
- GHC.CmmToAsm.X86.Ppr
- GHC.CmmToAsm.X86.RegInfo
- GHC.CmmToAsm.X86.Regs
- GHC.CmmToC
- GHC.CmmToLlvm
- GHC.CmmToLlvm.Base
- GHC.CmmToLlvm.CodeGen
- GHC.CmmToLlvm.Data
- GHC.CmmToLlvm.Mangler
- GHC.CmmToLlvm.Ppr
- GHC.CmmToLlvm.Regs
- GHC.Core
- GHC.Core.Arity
- GHC.Core.Class
- GHC.Core.Coercion
- GHC.Core.Coercion.Axiom
- GHC.Core.Coercion.Opt
- GHC.Core.ConLike
- GHC.Core.DataCon
- GHC.Core.FVs
- GHC.Core.FamInstEnv
- GHC.Core.InstEnv
- GHC.Core.Lint
- GHC.Core.Make
- GHC.Core.Map
- Op
- GHC.Core.Op.CSE
- GHC.Core.Op.CallArity
- GHC.Core.Op.ConstantFold
- GHC.Core.Op.CprAnal
- GHC.Core.Op.DmdAnal
- GHC.Core.Op.Exitify
- GHC.Core.Op.FloatIn
- GHC.Core.Op.FloatOut
- GHC.Core.Op.LiberateCase
- GHC.Core.Op.Monad
- GHC.Core.Op.OccurAnal
- GHC.Core.Op.SetLevels
- GHC.Core.Op.Simplify
- GHC.Core.Op.Simplify.Driver
- GHC.Core.Op.Simplify.Env
- GHC.Core.Op.Simplify.Monad
- GHC.Core.Op.Simplify.Utils
- GHC.Core.Op.SpecConstr
- GHC.Core.Op.Specialise
- GHC.Core.Op.StaticArgs
- GHC.Core.Op.Tidy
- GHC.Core.Op.WorkWrap
- GHC.Core.Op.WorkWrap.Lib
- GHC.Core.PatSyn
- GHC.Core.Ppr
- GHC.Core.Ppr.TyThing
- GHC.Core.Predicate
- GHC.Core.Rules
- GHC.Core.Seq
- GHC.Core.SimpleOpt
- GHC.Core.Stats
- GHC.Core.Subst
- TyCo
- GHC.Core.TyCo.FVs
- GHC.Core.TyCo.Ppr
- GHC.Core.TyCo.Rep
- GHC.Core.TyCo.Subst
- GHC.Core.TyCo.Tidy
- GHC.Core.TyCon
- GHC.Core.Type
- GHC.Core.Unfold
- GHC.Core.Unify
- GHC.Core.Utils
- GHC.CoreToByteCode
- GHC.CoreToIface
- GHC.CoreToStg
- GHC.CoreToStg.Prep
- Data
- GHC.Data.Bitmap
- Driver
- GHC.Driver.Backpack
- GHC.Driver.Backpack.Syntax
- GHC.Driver.CmdLine
- GHC.Driver.CodeOutput
- GHC.Driver.Finder
- GHC.Driver.Flags
- GHC.Driver.Hooks
- GHC.Driver.Main
- GHC.Driver.Make
- GHC.Driver.MakeFile
- GHC.Driver.Monad
- GHC.Driver.Packages
- GHC.Driver.Phases
- GHC.Driver.Pipeline
- GHC.Driver.Pipeline.Monad
- GHC.Driver.Plugins
- GHC.Driver.Session
- GHC.Driver.Types
- GHC.Driver.Ways
- GHC.Driver.Backpack
- Exts
- GHC.Exts.Heap
- GHC.Exts.Heap.ClosureTypes
- GHC.Exts.Heap.Closures
- GHC.Exts.Heap.Constants
- GHC.Exts.Heap.InfoTable
- GHC.Exts.Heap.InfoTable.Types
- GHC.Exts.Heap.InfoTableProf
- GHC.Exts.Heap.Utils
- GHC.Exts.Heap
- GHC.ForeignSrcLang
- GHC.ForeignSrcLang.Type
- GHC.HandleEncoding
- GHC.Hs
- GHC.Hs.Binds
- GHC.Hs.Decls
- GHC.Hs.Doc
- GHC.Hs.Dump
- GHC.Hs.Expr
- GHC.Hs.Extension
- GHC.Hs.ImpExp
- GHC.Hs.Instances
- GHC.Hs.Lit
- GHC.Hs.Pat
- GHC.Hs.Types
- GHC.Hs.Utils
- GHC.HsToCore
- GHC.HsToCore.Arrows
- GHC.HsToCore.Binds
- GHC.HsToCore.Coverage
- GHC.HsToCore.Docs
- GHC.HsToCore.Expr
- Foreign
- GHC.HsToCore.Foreign.Call
- GHC.HsToCore.Foreign.Decl
- GHC.HsToCore.GuardedRHSs
- GHC.HsToCore.ListComp
- GHC.HsToCore.Match
- GHC.HsToCore.Match.Constructor
- GHC.HsToCore.Match.Literal
- GHC.HsToCore.Monad
- GHC.HsToCore.PmCheck
- GHC.HsToCore.PmCheck.Oracle
- GHC.HsToCore.PmCheck.Ppr
- GHC.HsToCore.PmCheck.Types
- GHC.HsToCore.Quote
- GHC.HsToCore.Usage
- GHC.HsToCore.Utils
- Iface
- GHC.Iface.Binary
- GHC.Iface.Env
- Ext
- GHC.Iface.Ext.Ast
- GHC.Iface.Ext.Binary
- GHC.Iface.Ext.Debug
- GHC.Iface.Ext.Types
- GHC.Iface.Ext.Utils
- GHC.Iface.Load
- GHC.Iface.Make
- GHC.Iface.Recomp
- GHC.Iface.Rename
- GHC.Iface.Syntax
- GHC.Iface.Tidy
- GHC.Iface.Type
- GHC.IfaceToCore
- GHC.LanguageExtensions
- GHC.LanguageExtensions.Type
- GHC.Lexeme
- GHC.Llvm
- GHC.Llvm.MetaData
- GHC.Llvm.Ppr
- GHC.Llvm.Syntax
- GHC.Llvm.Types
- GHC.PackageDb
- GHC.Platform
- GHC.Platform.ARM
- GHC.Platform.ARM64
- GHC.Platform.Host
- GHC.Platform.NoRegs
- GHC.Platform.PPC
- GHC.Platform.Reg
- GHC.Platform.Reg.Class
- GHC.Platform.Regs
- GHC.Platform.S390X
- GHC.Platform.SPARC
- GHC.Platform.X86
- GHC.Platform.X86_64
- GHC.Plugins
- Rename
- GHC.Rename.Binds
- GHC.Rename.Doc
- GHC.Rename.Env
- GHC.Rename.Expr
- GHC.Rename.Fixity
- GHC.Rename.Names
- GHC.Rename.Pat
- GHC.Rename.Source
- GHC.Rename.Splice
- GHC.Rename.Types
- GHC.Rename.Unbound
- GHC.Rename.Utils
- Runtime
- GHC.Runtime.Debugger
- GHC.Runtime.Eval
- GHC.Runtime.Eval.Types
- Heap
- GHC.Runtime.Heap.Inspect
- GHC.Runtime.Heap.Layout
- GHC.Runtime.Interpreter
- GHC.Runtime.Interpreter.Types
- GHC.Runtime.Linker
- GHC.Runtime.Linker.Types
- GHC.Runtime.Loader
- GHC.Serialized
- GHC.Settings
- Stg
- GHC.Stg.CSE
- GHC.Stg.DepAnal
- GHC.Stg.FVs
- GHC.Stg.Lift
- GHC.Stg.Lift.Analysis
- GHC.Stg.Lift.Monad
- GHC.Stg.Lint
- GHC.Stg.Pipeline
- GHC.Stg.Stats
- GHC.Stg.Subst
- GHC.Stg.Syntax
- GHC.Stg.Unarise
- 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
- Types
- GHC.Types.Annotations
- GHC.Types.Avail
- GHC.Types.Basic
- GHC.Types.CostCentre
- GHC.Types.CostCentre.State
- GHC.Types.Cpr
- GHC.Types.Demand
- GHC.Types.FieldLabel
- GHC.Types.ForeignCall
- GHC.Types.Id
- GHC.Types.Id.Info
- GHC.Types.Id.Make
- GHC.Types.Literal
- GHC.Types.Module
- GHC.Types.Name
- GHC.Types.Name.Cache
- GHC.Types.Name.Env
- GHC.Types.Name.Occurrence
- GHC.Types.Name.Reader
- GHC.Types.Name.Set
- GHC.Types.Name.Shape
- GHC.Types.RepType
- GHC.Types.SrcLoc
- GHC.Types.Unique
- GHC.Types.Unique.DFM
- GHC.Types.Unique.DSet
- GHC.Types.Unique.FM
- GHC.Types.Unique.Set
- GHC.Types.Unique.Supply
- GHC.Types.Var
- GHC.Types.Var.Env
- GHC.Types.Var.Set
- GHC.UniqueSubdir
- Utils
- GHC.Utils.Lexeme
- GHC.Version
- GHCi
- GHCi.BinaryArray
- GHCi.BreakArray
- GHCi.CreateBCO
- GHCi.FFI
- GHCi.InfoTable
- GHCi.Message
- GHCi.ObjLink
- GHCi.RemoteTypes
- GHCi.ResolvedBCO
- GHCi.Run
- GHCi.Signals
- GHCi.StaticPtrTable
- GHCi.TH
- GHCi.TH.Binary
- GhcNameVersion
- GhcPrelude
- GraphBase
- GraphColor
- GraphOps
- GraphPpr
- HaddockUtils
- HeaderInfo
- HscStats
- IOEnv
- Inst
- Json
- KnownUniques
- Language
- Haskell
- Language.Haskell.TH
- Language.Haskell.TH.LanguageExtensions
- Language.Haskell.TH.Lib
- Language.Haskell.TH.Lib.Internal
- Language.Haskell.TH.Lib.Map
- Language.Haskell.TH.Ppr
- Language.Haskell.TH.PprLib
- Language.Haskell.TH.Quote
- Language.Haskell.TH.Syntax
- Language.Haskell.TH
- Haskell
- Lexer
- ListSetOps
- Maybes
- MonadUtils
- OrdList
- Outputable
- Pair
- Panic
- Parser
- Paths_ghc_lib
- PlainPanic
- PlatformConstants
- PprColour
- PrelInfo
- PrelNames
- Pretty
- PrimOp
- RdrHsSyn
- Settings
- SizedSeq
- State
- StaticPtrTable
- Stream
- StringBuffer
- SysTools
- SysTools.BaseDir
- SysTools.ExtraObj
- SysTools.Info
- SysTools.Process
- SysTools.Settings
- SysTools.Tasks
- SysTools.Terminal
- THNames
- TcAnnotations
- TcArrows
- TcBackpack
- TcBinds
- TcCanonical
- TcClassDcl
- TcDefaults
- TcDeriv
- TcDerivInfer
- TcDerivUtils
- TcEnv
- TcErrors
- TcEvTerm
- TcEvidence
- TcExpr
- TcFlatten
- TcForeign
- TcGenDeriv
- TcGenFunctor
- TcGenGenerics
- TcHoleErrors
- TcHoleFitTypes
- TcHsSyn
- TcHsType
- TcInstDcls
- TcInteract
- TcMType
- TcMatches
- TcOrigin
- TcPat
- TcPatSyn
- TcPluginM
- TcRnDriver
- TcRnExports
- TcRnMonad
- TcRnTypes
- TcRules
- TcSMonad
- TcSigs
- TcSimplify
- TcSplice
- TcTyClsDecls
- TcTyDecls
- TcType
- TcTypeNats
- TcTypeable
- TcUnify
- TcValidity
- ToolSettings
- TrieMap
- TysPrim
- TysWiredIn
- UnVarGraph
- UnitInfo
- UpdateCafInfos
- Util
Downloads
- ghc-lib-0.20200401.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates