Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Platform architecture and OS
We need it in ghc-boot because ghc-pkg needs it.
Documentation
Platform architecture and OS.
ArchOS | |
|
Architectures
TODO: It might be nice to extend these constructors with information about what instruction set extensions an architecture might support.
ArchUnknown | |
ArchX86 | |
ArchX86_64 | |
ArchPPC | |
ArchPPC_64 PPC_64ABI | |
ArchS390X | |
ArchARM ArmISA [ArmISAExt] ArmABI | |
ArchAArch64 | |
ArchAlpha | |
ArchMipseb | |
ArchMipsel | |
ArchRISCV64 | |
ArchJavaScript | |
ArchWasm32 |
Operating systems.
Using OSUnknown to generate code should produce a sensible default, but no promises.
OSUnknown | |
OSLinux | |
OSDarwin | |
OSSolaris2 | |
OSMinGW32 | |
OSFreeBSD | |
OSDragonFly | |
OSOpenBSD | |
OSNetBSD | |
OSKFreeBSD | |
OSHaiku | |
OSQNXNTO | |
OSAIX | |
OSHurd | |
OSWasi |
ARM Instruction Set Architecture
ARM extensions
PowerPC 64-bit ABI
stringEncodeArch :: Arch -> String Source #
See Note [Platform Syntax].
stringEncodeOS :: OS -> String Source #
See Note [Platform Syntax].