stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.GHCVariant

Synopsis

Documentation

data GHCVariant Source #

Specialized variant of GHC (e.g. libgmp4 or integer-simple)

Constructors

GHCStandard

Standard bindist

GHCIntegerSimple

Bindist that uses integer-simple

GHCNativeBignum

Bindist that uses the Haskell-native big-integer backend

GHCCustom String

Other bindists

ghcVariantName :: GHCVariant -> String Source #

Render a GHC variant to a String.

ghcVariantSuffix :: GHCVariant -> String Source #

Render a GHC variant to a String suffix.

parseGHCVariant :: MonadThrow m => String -> m GHCVariant Source #

Parse GHC variant from a String.