system-info-0.5.0.0: Get the name of the operating system

Copyright(c) ChaosGroup 2020
LicenseMIT
Maintainerdaniel.taskoff@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

System.OS

Contents

Description

Get the name of the current operating system.

Synopsis

OS

data OS Source #

The name of the current operating system.

Instances
Show OS Source # 
Instance details

Defined in System.OS

Methods

showsPrec :: Int -> OS -> ShowS #

show :: OS -> String #

showList :: [OS] -> ShowS #

os :: Maybe OS Source #

Try to get the name of the current operating system.