HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

ModuleCabal-3.16.0.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.

Synopsis
  • PackageCabal-3.16.0.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.16.0.0 · Distribution.Simple.CCompiler
  • Show CDialectDefined in Cabal-3.16.0.0 · Distribution.Simple.CCompiler
  • Semigroup CDialectDefined in Cabal-3.16.0.0 · Distribution.Simple.CCompiler
  • Monoid CDialectDefined in Cabal-3.16.0.0 · Distribution.Simple.CCompiler

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.