ghc: The GHC API
GHC's functionality can be useful for more things than just compiling Haskell programs. Important use cases are programs that analyse (and perhaps transform) Haskell code. Others include loading Haskell code dynamically in a GHCi-like manner. For this reason, a lot of GHC's functionality is made available through this package.
Modules
[Index] [Quick Jump]
- Annotations
- ApiAnnotation
- Ar
- AsmCodeGen
- AsmUtils
- Avail
- Bag
- BasicTypes
- BinFingerprint
- BinIface
- Binary
- Bitmap
- BkpSyn
- BlockId
- BooleanFormula
- BufWrite
- BuildTyCl
- ByteCodeAsm
- ByteCodeGen
- ByteCodeInstr
- ByteCodeItbls
- ByteCodeLink
- ByteCodeTypes
- CLabel
- CPrim
- CSE
- CallArity
- CgUtils
- Check
- Class
- 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
- CodeGen
- CodeOutput
- Coercion
- ConLike
- Config
- Constants
- Convert
- CoreArity
- CoreFVs
- CoreLint
- CoreMonad
- CoreOpt
- CorePrep
- CoreSeq
- CoreStats
- CoreSubst
- CoreSyn
- CoreTidy
- CoreToStg
- CoreUnfold
- CoreUtils
- CostCentre
- Coverage
- Ctype
- DataCon
- Debug
- Debugger
- DebuggerUtils
- Demand
- Desugar
- Digraph
- DmdAnal
- DriverBkp
- DriverMkDepend
- DriverPhases
- DriverPipeline
- DsArrows
- DsBinds
- DsCCall
- DsExpr
- DsForeign
- DsGRHSs
- DsListComp
- DsMeta
- DsMonad
- DsUsage
- DsUtils
- Dwarf
- DynFlags
- DynamicLoading
- Elf
- Encoding
- EnumSet
- ErrUtils
- Exception
- Exitify
- FV
- FamInst
- FamInstEnv
- FastFunctions
- FastMutInt
- FastString
- FastStringEnv
- FieldLabel
- FileCleanup
- Finder
- Fingerprint
- FiniteMap
- FlagChecker
- FloatIn
- FloatOut
- ForeignCall
- Format
- FunDeps
- GHC
- GHCi
- GhcMake
- GhcMonad
- GhcPlugins
- GraphBase
- GraphColor
- GraphOps
- GraphPpr
- HaddockUtils
- HeaderInfo
- Hooks
- Hoopl
- HsBinds
- HsDecls
- HsDoc
- HsDumpAst
- HsExpr
- HsExtension
- HsImpExp
- HsLit
- HsPat
- HsSyn
- HsTypes
- HsUtils
- HscMain
- HscStats
- HscTypes
- IOEnv
- Id
- IdInfo
- IfaceEnv
- IfaceSyn
- IfaceType
- Inst
- InstEnv
- Instruction
- InteractiveEval
- InteractiveEvalTypes
- Json
- Kind
- KnownUniques
- Lexeme
- Lexer
- LiberateCase
- Linker
- ListSetOps
- ListT
- Literal
- Llvm
- LlvmCodeGen
- 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
- PackageConfig
- Packages
- Pair
- Panic
- Parser
- PatSyn
- PipelineMonad
- PlaceHolder
- Platform
- PlatformConstants
- Plugins
- PmExpr
- PprBase
- PprC
- PprCmm
- PprCmmDecl
- PprCmmExpr
- PprColour
- PprCore
- PprTyThing
- PrelInfo
- PrelNames
- PrelRules
- Pretty
- PrimOp
- ProfInit
- RdrHsSyn
- RdrName
- Reg
- RegAlloc
- Graph
- Linear
- RegAlloc.Liveness
- RegClass
- RepType
- RnBinds
- RnEnv
- RnExpr
- RnFixity
- RnHsDoc
- RnModIface
- RnNames
- RnPat
- RnSource
- RnSplice
- RnTypes
- RnUnbound
- RnUtils
- RtClosureInspect
- Rules
- SAT
- SMRep
- SPARC
- SetLevels
- SimplCore
- SimplEnv
- SimplMonad
- SimplStg
- SimplUtils
- Simplify
- SpecConstr
- Specialise
- SrcLoc
- State
- StaticPtrTable
- StgCmm
- StgCmmArgRep
- StgCmmBind
- StgCmmClosure
- StgCmmCon
- StgCmmEnv
- StgCmmExpr
- StgCmmExtCode
- StgCmmForeign
- StgCmmHeap
- StgCmmHpc
- StgCmmLayout
- StgCmmMonad
- StgCmmPrim
- StgCmmProf
- StgCmmTicky
- StgCmmUtils
- StgCse
- StgLint
- StgStats
- StgSyn
- Stream
- StringBuffer
- SysTools
- THNames
- TargetReg
- TcAnnotations
- TcArrows
- TcBackpack
- TcBinds
- TcCanonical
- TcClassDcl
- TcDefaults
- TcDeriv
- TcDerivInfer
- TcDerivUtils
- TcEnv
- TcErrors
- TcEvidence
- TcExpr
- TcFlatten
- TcForeign
- TcGenDeriv
- TcGenFunctor
- TcGenGenerics
- TcHsSyn
- TcHsType
- TcIface
- TcInstDcls
- TcInteract
- TcMType
- TcMatches
- TcPat
- TcPatSyn
- TcPluginM
- TcRnDriver
- TcRnExports
- TcRnMonad
- TcRnTypes
- TcRules
- TcSMonad
- TcSigs
- TcSimplify
- TcSplice
- TcTyClsDecls
- TcTyDecls
- TcType
- TcTypeNats
- TcTypeable
- TcUnify
- TcValidity
- TidyPgm
- TmOracle
- ToIface
- TrieMap
- TyCoRep
- TyCon
- Type
- TysPrim
- TysWiredIn
- UnVarGraph
- UnariseStg
- Unify
- UniqDFM
- UniqDSet
- UniqFM
- UniqMap
- UniqSet
- UniqSupply
- Unique
- Util
- Var
- VarEnv
- VarSet
- Vectorise
- WorkWrap
- WwLib
- X86
Flags
Manual Flags
Name | Description | Default |
---|---|---|
terminfo | Build GHC with terminfo support on non-Windows platforms. | Enabled |
buildable | Make this package buildable (experimental tech preview). See reinstallable lib:ghc announcement for more information. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ghc-8.4.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- 0, 8.2.1, 8.4.3, 8.4.4, 8.6.1, 8.6.4, 8.6.5, 8.8.1, 8.8.3, 8.10.1, 8.10.2, 8.10.7, 9.2.1, 9.2.2, 9.2.3, 9.2.3.20220620, 9.2.4, 9.2.5, 9.2.6, 9.2.7, 9.2.8, 9.4.0.20220623, 9.4.2, 9.4.3, 9.4.4, 9.6.0.20230111, 9.6.0.20230128, 9.6.0.20230210, 9.6.0.20230302, 9.6.1, 9.6.2, 9.6.3, 9.8.0.20230919, 9.8.0.20230929, 9.8.1, 9.10.1
Versions [RSS] | 8.2.1, 8.2.2, 8.4.1, 8.4.3, 8.4.4, 8.6.1, 8.6.4, 8.6.5, 8.8.1, 8.8.3, 8.10.1, 8.10.2, 8.10.7, 9.0.2, 9.2.1, 9.2.2, 9.2.3, 9.2.3.20220620, 9.2.4, 9.2.5, 9.2.6, 9.2.7, 9.2.8, 9.4.1, 9.4.2, 9.4.3, 9.4.4, 9.4.5, 9.4.6, 9.4.7, 9.4.8, 9.6.1, 9.6.3, 9.6.4, 9.6.5, 9.6.6, 9.8.1, 9.8.2, 9.10.1 (info) |
---|---|
Dependencies | array (>=0.1 && <0.6), base (<0), binary (>=0.8 && <0.9), bytestring (>=0.9 && <0.11), containers (>=0.5 && <0.6), deepseq (>=1.4 && <1.5), directory (>=1 && <1.4), filepath (>=1 && <1.5), ghc-boot (==8.4.1), ghc-boot-th (==8.4.1), ghci (==8.4.1), hpc (>=0.6 && <0.7), process (>=1 && <1.7), template-haskell (>=2.13 && <2.14), terminfo (>=0.4 && <0.5), time (>=1.4 && <1.9), transformers (>=0.5 && <0.6), unix (>=2.7 && <2.8), Win32 (>=2.3 && <2.7) [details] |
License | BSD-3-Clause |
Author | The GHC Team |
Maintainer | glasgow-haskell-users@haskell.org |
Category | Development |
Home page | http://www.haskell.org/ghc/ |
Bug tracker | https://ghc.haskell.org/trac/ghc/newticket?component=Compiler&keywords=lib:ghc |
Source repo | head: git clone https://git.haskell.org/ghc.git(compiler) |
Uploaded | by HerbertValerioRiedel at 2018-04-02T14:12:43Z |
Distributions | Arch:9.2.8, Debian:8.10.7, Fedora:9.4.5, NixOS:9.6.6 |
Reverse Dependencies | 317 direct, 14568 indirect [details] |
Downloads | 11646 total (214 in the last 30 days) |
Rating | 2.5 (votes: 6) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |