ghc: The GHC API
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- Declared and used flag sets differ: dynamic-system-linker, ghci, integer-gmp, integer-simple, stage1, stage2, stage3, terminfo /= dynamic-system-linker, ghci, integer-gmp, integer-simple, terminfo.
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.
Properties
Versions | 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, 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 |
---|---|
Change log | None available |
Dependencies | array (>=0.1 && <0.6), base (>=4.11 && <4.15), 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-boot (==8.10.7), ghc-boot-th (==8.10.7), ghc-heap (==8.10.7), ghci (==8.10.7), hpc (>=0.6 && <0.7), process (>=1 && <1.7), template-haskell (>=2.16 && <2.17), terminfo (>=0.4 && <0.5), time (>=1.4 && <1.10), transformers (>=0.5 && <0.6), unix (>=2.7 && <2.9), 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/ |
Uploaded | by wz1000 at 2022-03-04T12:13:47Z |
Modules
- 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.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.HsToCore.PmCheck
- Platform
- GHC.Platform.AArch64
- GHC.Platform.ARM
- GHC.Platform.NoRegs
- GHC.Platform.PPC
- GHC.Platform.Regs
- GHC.Platform.S390X
- GHC.Platform.SPARC
- GHC.Platform.X86
- GHC.Platform.X86_64
- 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.Hs
- GHCi
- 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
- 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
- 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
- Graph
- 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
- 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
Flags
Manual Flags
Name | Description | Default |
---|---|---|
ghci | Build GHCi support. | Disabled |
stage1 | Is this stage 1? | Disabled |
stage2 | Is this stage 2? | Disabled |
stage3 | Is this stage 3? | Disabled |
terminfo | Build GHC with terminfo support on non-Windows platforms. | Enabled |
integer-simple | Use integer-simple | Disabled |
integer-gmp | Use integer-gmp | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
dynamic-system-linker | The system can load dynamic code. This is not the case for musl. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ghc-8.10.7.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees