[GHC] #14804: hGetLine does not document whether newline is returned.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #14804: hGetLine does not document whether newline is returned.

GHC - devs mailing list
#14804: hGetLine does not document whether newline is returned.
-------------------------------------+-------------------------------------
           Reporter:  akfp           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:                 |           Version:  8.2.2
  libraries/base                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Documentation
  Unknown/Multiple                   |  bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Current documentation on hackage:

 hGetLine :: Handle -> IO String

 Computation hGetLine hdl reads a line from the file or channel managed by
 hdl.

 This operation may fail with:

     isEOFError if the end of file is encountered when reading the first
 character of the line.

 If hGetLine encounters end-of-file at any other point while reading in a
 line, it is treated as a line terminator and the (partial) line is
 returned.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14804>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #14804: hGetLine does not document whether newline is returned.

GHC - devs mailing list
#14804: hGetLine does not document whether newline is returned.
-------------------------------------+-------------------------------------
        Reporter:  akfp              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Documentation     |  Unknown/Multiple
  bug                                |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by gander):

 I would like to work on this one.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14804#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #14804: hGetLine does not document whether newline is returned.

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#14804: hGetLine does not document whether newline is returned.
-------------------------------------+-------------------------------------
        Reporter:  akfp              |                Owner:  gander
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Documentation     |  Unknown/Multiple
  bug                                |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by gander):

 * owner:  (none) => gander


--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14804#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets