Query basic properties of the current platform.
All of these values are compile-time constants. If the special
magic in the package configure step was unable to determine the
correct value for something, it comes back as Nothing
.
- data OS_Type
- = MS_Windows
- | Unix
- os_type :: OS_Type
- compiler_name :: String
- compiler_version :: String
Operating system
A list of all possible operating system types.
MS_Windows | Some version of Microsoft Windows. |
Unix | Any sufficiently "Unix-like" system. |
Compiler
The name of the compiler (e.g., "GHC"
), or "Unknown" if
this could not be detected.
compiler_version :: StringSource
The numerical version string for the compiler
(e.g., "6.10.2"
), or "" if this could not be detected.
Local values
Your local copy of this package was configured with the following settings:
os_type = Unix compiler_name = "GHC" compiler_version = "7.0.3"