HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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, …