cabal-gild-1.5.0.0: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Type.Output

Synopsis

Documentation

data Output Source #

Represents an output stream, which can either be standard output (STDOUT) or a file.

Constructors

Stdout 
File FilePath 

Instances

Instances details
Show Output Source # 
Instance details

Defined in CabalGild.Unstable.Type.Output

Eq Output Source # 
Instance details

Defined in CabalGild.Unstable.Type.Output

Methods

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

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

Ord Output Source # 
Instance details

Defined in CabalGild.Unstable.Type.Output

fromString :: String -> Output Source #

Converts a string into an output. The string "-" will be converted into Stdout, and any other string will be converted into File.