HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleCabal-3.12.1.0Haskell2010

Distribution.Simple.CCompiler

This simple package provides types and functions for interacting with C compilers. Currently it's just a type enumerating extant C-like languages, which we call dialects.

  • 1 type
  • 3 values
  • PackageCabal-3.12.1.0
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceCCompiler.hs
datadata CDialect
#

Represents a dialect of C. The Monoid instance expresses backward compatibility, in the sense that 'mappend a b' is the least inclusive dialect which both a and b can be correctly interpreted as.

Instances4Eq, Show, Semigroup, Monoid
  • Eq CDialectDefined in Cabal-3.12.1.0 · Distribution.Simple.CCompiler
  • Show CDialectDefined in Cabal-3.12.1.0 · Distribution.Simple.CCompiler
  • Semigroup CDialectDefined in Cabal-3.12.1.0 · Distribution.Simple.CCompiler
  • Monoid CDialectDefined in Cabal-3.12.1.0 · Distribution.Simple.CCompiler
valuecSourceExtensions :: [String]
#

A list of all file extensions which are recognized as possibly containing some dialect of C code. Note that this list is only for source files, not for header files.