CabalGild.Unstable.Type.Input
data Input Source #
Represents an input stream, which can either be standard input (STDIN) or a file.
Constructors
Defined in CabalGild.Unstable.Type.Input
Methods
showsPrec :: Int -> Input -> ShowS #
show :: Input -> String #
showList :: [Input] -> ShowS #
(==) :: Input -> Input -> Bool #
(/=) :: Input -> Input -> Bool #
compare :: Input -> Input -> Ordering #
(<) :: Input -> Input -> Bool #
(<=) :: Input -> Input -> Bool #
(>) :: Input -> Input -> Bool #
(>=) :: Input -> Input -> Bool #
max :: Input -> Input -> Input #
min :: Input -> Input -> Input #
fromString :: String -> Input Source #
Converts a string into an input. The string "-" will be converted into Stdin, and any other string will be converted into File.
"-"
Stdin
File