cpu-0.1.2: Cpu information and properties helpers.

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe
LanguageHaskell98

System.Arch

Description

 

Synopsis

Documentation

data Arch #

List of all cpu architecture

Constructors

X86 
X86_64 
PPC 
PPC64 
Sparc 
Arm 
Mips 
SH 
IA64 
S390 
Alpha 
Hppa 
Rs6000 
M68K 
VAX 

Instances

Eq Arch # 

Methods

(==) :: Arch -> Arch -> Bool #

(/=) :: Arch -> Arch -> Bool #

Show Arch # 

Methods

showsPrec :: Int -> Arch -> ShowS #

show :: Arch -> String #

showList :: [Arch] -> ShowS #

getSystemArch :: Arch #

Return the system's cpu architecture