HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

ModuleCabal-syntax-3.16.0.0Haskell2010

Distribution.Types.ForeignLib

  • 2 types
  • 9 values
datadata ForeignLib
#

A foreign library stanza is like a library stanza, except that the built code is intended for consumption by a non-Haskell client.

Constructors

Instances14Eq, Data, Ord, Read, Show, Generic, …
valueforeignLibVersion :: ForeignLib -> OS -> [Int]
#

Get a version number for a foreign library. If we're on Linux, and a Linux version is specified, use that. If we're on Linux, and libtool-style version-info is specified, translate that field into appropriate version numbers. Otherwise, this feature is unsupported so we don't return any version data.

datadata LibVersionInfo
#
Instances12Eq, Data, Ord, Read, Show, Generic, …