GHC.Toolchain.ParseTriple

ghc-toolchain-0.1.0.0: Utility for managing GHC target toolchains

Safe Haskell | None
Language | Haskell2010

GHC.Toolchain.ParseTriple

Synopsis

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

# 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`