CabalGild.Unstable.Type.Output
data Output Source #
Represents an output stream, which can either be standard output (STDOUT) or a file.
Constructors
Defined in CabalGild.Unstable.Type.Output
Methods
showsPrec :: Int -> Output -> ShowS #
show :: Output -> String #
showList :: [Output] -> ShowS #
(==) :: Output -> Output -> Bool #
(/=) :: Output -> Output -> Bool #
compare :: Output -> Output -> Ordering #
(<) :: Output -> Output -> Bool #
(<=) :: Output -> Output -> Bool #
(>) :: Output -> Output -> Bool #
(>=) :: Output -> Output -> Bool #
max :: Output -> Output -> Output #
min :: Output -> Output -> 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.
"-"
Stdout
File