| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
GHC.Platform.ArchOS
Contents
Description
Platform architecture and OS
Documentation
Platform architecture and OS.
Constructors
| ArchOS | |
| Fields 
 | |
Architectures
Architectures
Constructors
ARM Instruction Set Architecture
ARM extensions
Instances
| Eq ArmISAExt Source # | |
| Ord ArmISAExt Source # | |
| Read ArmISAExt Source # | |
| Show ArmISAExt Source # | |
PowerPC 64-bit ABI
Instances
| Eq PPC_64ABI Source # | |
| Ord PPC_64ABI Source # | |
| Read PPC_64ABI Source # | |
| Show PPC_64ABI Source # | |
stringEncodeArch :: Arch -> String Source #
See Note [Platform Syntax].
Operating systems
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 | |
| OSWasi | |
| OSGhcjs | 
osElfTarget :: OS -> Bool Source #
This predicate tells us whether the OS uses the ELF as its primary object format.
osMachOTarget :: OS -> Bool Source #
This predicate tells us whether the OS support Mach-O shared libraries.
stringEncodeOS :: OS -> String Source #
See Note [Platform Syntax].