ghc-lib: The GHC API, decoupled from GHC versions

[ bsd3, development, library ] [ Propose Tags ] [ Report a vulnerability ]

A package equivalent to the ghc package, but which can be loaded on many compiler versions.

Modules

[Last Documentation]

  • Annotations
  • ApiAnnotation
  • Ar
  • AsmCodeGen
  • AsmUtils
  • Avail
  • Bag
  • BasicTypes
  • BinFingerprint
  • BinIface
  • Binary
  • Bitmap
  • BkpSyn
  • BlockId
  • BlockLayout
  • BooleanFormula
  • BufWrite
  • BuildTyCl
  • ByteCodeAsm
  • ByteCodeGen
  • ByteCodeInstr
  • ByteCodeItbls
  • ByteCodeLink
  • ByteCodeTypes
  • CFG
  • CLabel
  • CPrim
  • CSE
  • CallArity
  • Class
  • CliOption
  • ClsInst
  • CmdLineParser
  • Cmm
  • CmmBuildInfoTables
  • CmmCallConv
  • CmmCommonBlockElim
  • CmmContFlowOpt
  • CmmExpr
  • CmmImplementSwitchPlans
  • CmmInfo
  • CmmLayoutStack
  • CmmLex
  • CmmLint
  • CmmLive
  • CmmMachOp
  • CmmMonad
  • CmmNode
  • CmmOpt
  • CmmParse
  • CmmPipeline
  • CmmProcPoint
  • CmmSink
  • CmmSwitch
  • CmmType
  • CmmUtils
  • CoAxiom
  • CodeOutput
  • Coercion
  • ConLike
  • Config
  • Constants
  • Constraint
  • CoreArity
  • CoreFVs
  • CoreLint
  • CoreMap
  • CoreMonad
  • CoreOpt
  • CorePrep
  • CoreSeq
  • CoreStats
  • CoreSubst
  • CoreSyn
  • CoreTidy
  • CoreToStg
  • CoreUnfold
  • CoreUtils
  • CostCentre
  • CostCentreState
  • Coverage
  • Ctype
  • DataCon
  • Debug
  • Debugger
  • Demand
  • Desugar
  • Digraph
  • DmdAnal
  • Dominators
  • DriverBkp
  • DriverMkDepend
  • DriverPhases
  • DriverPipeline
  • DsArrows
  • DsBinds
  • DsCCall
  • DsExpr
  • DsForeign
  • DsGRHSs
  • DsListComp
  • DsMeta
  • DsMonad
  • DsUsage
  • DsUtils
  • Dwarf
    • Dwarf.Constants
    • Dwarf.Types
  • DynFlags
  • DynamicLoading
  • Elf
  • Encoding
  • EnumSet
  • ErrUtils
  • Exception
  • Exitify
  • ExtractDocs
  • FV
  • FamInst
  • FamInstEnv
  • FastFunctions
  • FastMutInt
  • FastString
  • FastStringEnv
  • FieldLabel
  • FileCleanup
  • FileSettings
  • Finder
  • Fingerprint
  • FiniteMap
  • FlagChecker
  • FloatIn
  • FloatOut
  • ForeignCall
  • Format
  • FunDeps
  • GHC
    • GHC.BaseDir
    • 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.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.PlaceHolder
      • GHC.Hs.Types
      • GHC.Hs.Utils
    • HsToCore
      • GHC.HsToCore.PmCheck
        • GHC.HsToCore.PmCheck.Oracle
        • GHC.HsToCore.PmCheck.Ppr
        • GHC.HsToCore.PmCheck.Types
    • GHC.LanguageExtensions
      • GHC.LanguageExtensions.Type
    • GHC.Lexeme
    • GHC.PackageDb
    • GHC.Platform
      • GHC.Platform.ARM
      • GHC.Platform.ARM64
      • GHC.Platform.Host
      • GHC.Platform.NoRegs
      • GHC.Platform.PPC
      • GHC.Platform.Regs
      • GHC.Platform.S390X
      • GHC.Platform.SPARC
      • GHC.Platform.X86
      • GHC.Platform.X86_64
    • GHC.Serialized
    • 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
    • GHC.UniqueSubdir
    • 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
  • GhcMake
  • GhcMonad
  • GhcNameVersion
  • GhcPlugins
  • GhcPrelude
  • GraphBase
  • GraphColor
  • GraphOps
  • GraphPpr
  • HaddockUtils
  • HeaderInfo
  • HieAst
  • HieBin
  • HieDebug
  • HieTypes
  • HieUtils
  • Hooks
  • Hoopl
    • Hoopl.Block
    • Hoopl.Collections
    • Hoopl.Dataflow
    • Hoopl.Graph
    • Hoopl.Label
  • HscMain
  • HscStats
  • HscTypes
  • IOEnv
  • Id
  • IdInfo
  • IfaceEnv
  • IfaceSyn
  • IfaceType
  • Inst
  • InstEnv
  • Instruction
  • InteractiveEval
  • InteractiveEvalTypes
  • 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
  • Lexeme
  • Lexer
  • LiberateCase
  • Linker
  • LinkerTypes
  • ListSetOps
  • Literal
  • Llvm
    • Llvm.AbsSyn
    • Llvm.MetaData
    • Llvm.PpLlvm
    • Llvm.Types
  • LlvmCodeGen
    • LlvmCodeGen.Base
    • LlvmCodeGen.CodeGen
    • LlvmCodeGen.Data
    • LlvmCodeGen.Ppr
    • LlvmCodeGen.Regs
  • LlvmMangler
  • LoadIface
  • Match
  • MatchCon
  • MatchLit
  • Maybes
  • MkCore
  • MkGraph
  • MkId
  • MkIface
  • Module
  • MonadUtils
  • NCGMonad
  • Name
  • NameCache
  • NameEnv
  • NameSet
  • NameShape
  • OccName
  • OccurAnal
  • OptCoercion
  • OrdList
  • Outputable
  • PIC
  • PPC
    • PPC.CodeGen
    • PPC.Cond
    • PPC.Instr
    • PPC.Ppr
    • PPC.RegInfo
    • PPC.Regs
  • PackageConfig
  • Packages
  • Pair
  • Panic
  • Parser
  • PatSyn
  • Paths_ghc_lib
  • PipelineMonad
  • PlainPanic
  • PlatformConstants
  • Plugins
  • PprBase
  • PprC
  • PprCmm
  • PprCmmDecl
  • PprCmmExpr
  • PprColour
  • PprCore
  • PprTyThing
  • Predicate
  • PrelInfo
  • PrelNames
  • PrelRules
  • Pretty
  • PrimOp
  • ProfInit
  • RdrHsSyn
  • RdrName
  • Reg
  • RegAlloc
    • Graph
      • RegAlloc.Graph.ArchBase
      • RegAlloc.Graph.ArchX86
      • RegAlloc.Graph.Coalesce
      • RegAlloc.Graph.Main
      • RegAlloc.Graph.Spill
      • RegAlloc.Graph.SpillClean
      • RegAlloc.Graph.SpillCost
      • RegAlloc.Graph.Stats
      • RegAlloc.Graph.TrivColorable
    • Linear
      • RegAlloc.Linear.Base
      • RegAlloc.Linear.FreeRegs
      • RegAlloc.Linear.JoinToTargets
      • RegAlloc.Linear.Main
      • PPC
        • RegAlloc.Linear.PPC.FreeRegs
      • SPARC
        • RegAlloc.Linear.SPARC.FreeRegs
      • RegAlloc.Linear.StackMap
      • RegAlloc.Linear.State
      • RegAlloc.Linear.Stats
      • X86
        • RegAlloc.Linear.X86.FreeRegs
      • X86_64
        • RegAlloc.Linear.X86_64.FreeRegs
    • RegAlloc.Liveness
  • RegClass
  • RepType
  • RnBinds
  • RnEnv
  • RnExpr
  • RnFixity
  • RnHsDoc
  • RnModIface
  • RnNames
  • RnPat
  • RnSource
  • RnSplice
  • RnTypes
  • RnUnbound
  • RnUtils
  • RtClosureInspect
  • Rules
  • SAT
  • SMRep
  • SPARC
    • SPARC.AddrMode
    • SPARC.Base
    • SPARC.CodeGen
      • SPARC.CodeGen.Amode
      • SPARC.CodeGen.Base
      • SPARC.CodeGen.CondCode
      • SPARC.CodeGen.Expand
      • SPARC.CodeGen.Gen32
      • SPARC.CodeGen.Gen64
      • SPARC.CodeGen.Sanity
    • SPARC.Cond
    • SPARC.Imm
    • SPARC.Instr
    • SPARC.Ppr
    • SPARC.Regs
    • SPARC.ShortcutJump
    • SPARC.Stack
  • SetLevels
  • Settings
  • SimplCore
  • SimplEnv
  • SimplMonad
  • SimplStg
  • SimplUtils
  • Simplify
  • SizedSeq
  • SpecConstr
  • Specialise
  • SrcLoc
  • State
  • StaticPtrTable
  • StgCse
  • StgFVs
  • StgLiftLams
    • StgLiftLams.Analysis
    • StgLiftLams.LiftM
    • StgLiftLams.Transformation
  • StgLint
  • StgStats
  • StgSubst
  • StgSyn
  • Stream
  • StringBuffer
  • SysTools
    • SysTools.BaseDir
    • SysTools.ExtraObj
    • SysTools.Info
    • SysTools.Process
    • SysTools.Settings
    • SysTools.Tasks
    • SysTools.Terminal
  • THNames
  • TargetReg
  • TcAnnotations
  • TcArrows
  • TcBackpack
  • TcBinds
  • TcCanonical
  • TcClassDcl
  • TcDefaults
  • TcDeriv
  • TcDerivInfer
  • TcDerivUtils
  • TcEnv
  • TcErrors
  • TcEvTerm
  • TcEvidence
  • TcExpr
  • TcFlatten
  • TcForeign
  • TcGenDeriv
  • TcGenFunctor
  • TcGenGenerics
  • TcHoleErrors
  • TcHoleFitTypes
  • TcHsSyn
  • TcHsType
  • TcIface
  • TcInstDcls
  • TcInteract
  • TcMType
  • TcMatches
  • TcOrigin
  • TcPat
  • TcPatSyn
  • TcPluginM
  • TcRnDriver
  • TcRnExports
  • TcRnMonad
  • TcRnTypes
  • TcRules
  • TcSMonad
  • TcSigs
  • TcSimplify
  • TcSplice
  • TcTyClsDecls
  • TcTyDecls
  • TcType
  • TcTypeNats
  • TcTypeable
  • TcUnify
  • TcValidity
  • TidyPgm
  • ToIface
  • ToolSettings
  • TrieMap
  • TyCoFVs
  • TyCoPpr
  • TyCoRep
  • TyCoSubst
  • TyCoTidy
  • TyCon
  • Type
  • TysPrim
  • TysWiredIn
  • UnVarGraph
  • UnariseStg
  • Unify
  • UniqDFM
  • UniqDSet
  • UniqFM
  • UniqMap
  • UniqSet
  • UniqSupply
  • Unique
  • Util
  • Var
  • VarEnv
  • VarSet
  • WorkWrap
  • WwLib
  • X86
    • X86.CodeGen
    • X86.Cond
    • X86.Instr
    • X86.Ppr
    • X86.RegInfo
    • X86.Regs

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.20190204, 0.20190402, 0.20190423, 0.20190516, 0.20190523, 0.20190523.1, 0.20190603, 0.20190703, 0.20190806, 0.20190903, 0.20190909, 0.20191002, 0.20191101, 0.20191201, 0.20200102, 0.20200201, 0.20200205, 0.20200301, 0.20200401, 0.20200501, 0.20200601, 0.20200704, 0.20200801, 0.20200901, 0.20201001, 0.20201101, 0.20201201, 0.20210101, 0.20210201, 0.20210228, 0.20210331, 0.20210501, 0.20210601, 0.20210701, 0.20210801, 0.20210901, 0.20211001, 0.20211101, 0.20211201, 0.20220103, 0.20220201, 0.20220301, 0.20220401, 0.20220501, 0.20220601, 0.20220701, 0.20220801, 0.20220901, 0.20221001, 0.20221101, 0.20221201, 8.8.0.20190424, 8.8.0.20190723, 8.8.1, 8.8.1.20191204, 8.8.1.20210620, 8.8.2, 8.8.2.20200205, 8.8.2.20210620, 8.8.3.20200224, 8.8.3.20200412, 8.8.3.20200412.1, 8.8.3.20210620, 8.8.4.20200716, 8.8.4.20210620, 8.10.1.20200324, 8.10.1.20200412, 8.10.1.20200518, 8.10.1.20200523, 8.10.1.20200916, 8.10.2.20200808, 8.10.2.20200916, 8.10.3.20201220, 8.10.4.20210206, 8.10.5.20210606, 8.10.6.20210814, 8.10.7.20210828, 8.10.7.20220219, 9.0.1.20210205, 9.0.1.20210207, 9.0.1.20210324, 9.0.2.20211226, 9.2.1.20211030, 9.2.1.20211101, 9.2.1.20220109, 9.2.2.20220307, 9.2.3.20220527, 9.2.3.20220709, 9.2.4.20220729, 9.2.5.20221107, 9.2.6.20230211, 9.2.7.20230228, 9.2.8.20230729, 9.4.1.20220807, 9.4.2.20220822, 9.4.3.20221104, 9.4.4.20221225, 9.4.5.20230430, 9.4.6.20230808, 9.4.7.20230826, 9.4.8.20231111, 9.6.1.20230312, 9.6.2.20230523, 9.6.2.20231121, 9.6.3.20231014, 9.6.3.20231121, 9.6.4.20240109, 9.6.5.20240423, 9.6.6.20240701, 9.8.1.20231009, 9.8.1.20231121, 9.8.2.20240223, 9.8.3.20241022, 9.8.3.20241103, 9.10.1.20240511, 9.10.1.20241103
Dependencies array (>=0.1 && <0.6), base (>=4.12 && <4.14), binary (>=0.8 && <0.9), bytestring (>=0.9 && <0.11), containers (>=0.5 && <0.7), deepseq (>=1.4 && <1.5), directory (>=1 && <1.4), filepath (>=1 && <1.5), ghc-lib-parser (==8.10.1.20200324), ghc-prim (>0.2 && <0.6), hpc (>=0.6 && <0.7), pretty (>=1.1 && <1.2), process (>=1 && <1.7), time (>=1.4 && <1.10), transformers (>=0.5 && <0.6), unix, Win32 [details]
Tested with ghc ==8.8.2, ghc ==8.6.5, ghc ==8.4.4
License BSD-3-Clause
Author The GHC Team and Digital Asset
Maintainer Digital Asset
Revised Revision 1 made by cocreature at 2020-07-19T08:02:32Z
Category Development
Home page https://github.com/digital-asset/ghc-lib
Bug tracker https://github.com/digital-asset/ghc-lib/issues
Source repo head: git clone git@github.com:digital-asset/ghc-lib.git
Uploaded by shayne_fletcher at 2020-03-24T17:13:59Z
Distributions LTSHaskell:9.6.6.20240701, NixOS:9.6.6.20240701, Stackage:9.8.3.20241103
Reverse Dependencies 4 direct, 42 indirect [details]
Downloads 44285 total (543 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2020-03-24 [all 3 reports]