ghc-toolchain-0.1.0.0: Utility for managing GHC target toolchains
Safe HaskellNone
LanguageHaskell2010

GHC.Toolchain.ParseTriple

Synopsis

Documentation

parseTriple :: Cc -> String -> M (ArchOS, Maybe String) Source #

Parse a triple `arch-vendor-os` into an ArchOS and a vendor name String

If the user specified a duple (`arch-os`) instead, the vendor name is Nothing