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-syntax-3.12.1.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, …