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