CurryInfo: base-3.4.0 / System.IO.hGetLine

definition: Info
 
hGetLine  :: Handle -> IO String
hGetLine h = do
  c <- hGetChar h
  if c == '\n'
     then return []
     else do eof <- hIsEOF h
             if eof then return [c]
                    else do cs <- hGetLine h
                            return (c:cs)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Reads a line from an input handle and returns it.
Throws an error if the end of file has been reached while reading
the *first* character. If the end of file is reached later in the line,
it ist treated as a line terminator and the (partial) line is returned.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 hGetLine
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Handle -> Prelude.IO String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms