Platform architecture and OS.
Constructors
ArchOSarchOS_arch :: ArcharchOS_OS :: OS
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11
Moduleghc-lib-parser-9.14.1.20251220GHC2021
Platform architecture and OS
Platform architecture and OS.
ArchOSarchOS_arch :: ArcharchOS_OS :: OSArchitectures
Eq ArmISAExtDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSOrd ArmISAExtDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSRead ArmISAExtDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSShow ArmISAExtDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSEq PPC_64ABIDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSOrd PPC_64ABIDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSRead PPC_64ABIDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSShow PPC_64ABIDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Platform.ArchOSSee Note [Platform Syntax].
Operating systems.
Using OSUnknown to generate code should produce a sensible default, but no promises.
This predicate tells us whether the OS uses the ELF as its primary object format.
This predicate tells us whether the OS support Mach-O shared libraries.
See Note [Platform Syntax].