[GHC] #1611: Data.Map, Data.IntMap documentation

GHC trac at galois.com
Tue Nov 27 15:16:45 EST 2007


#1611: Data.Map, Data.IntMap documentation
----------------------------+-----------------------------------------------
 Reporter:  guest           |          Owner:  igloo             
     Type:  proposal        |         Status:  new               
 Priority:  normal          |      Milestone:  Not GHC           
Component:  libraries/base  |        Version:  6.6.1             
 Severity:  normal          |     Resolution:                    
 Keywords:                  |     Difficulty:  Difficult (1 week)
 Testcase:                  |   Architecture:  Multiple          
       Os:  Multiple        |  
----------------------------+-----------------------------------------------
Changes (by igloo):

  * owner:  => igloo

Comment:

 {{{
 Thanks everybody for the corrections and suggestions.
 Sorry it took this long to respond.


 This is the final submission. Please commit the patch.


 Log comment:
 Improved, fixed documentation for Data.Map,
 Data.IntMap. Added examples.

 Changes since the previous submission:
 * Moved time complexity Big-O values back to the
 beginning of function descriptions.
 * Converted examples from interpreter session-like
 format to more compact equation-like format.
 * As per
 http://www.haskell.org/pipermail/libraries/2007-March/007304.html
 added following information to the description of
 updateLookupWithKey:

 The function returns changed value, if it is updated.
 Returns the original key value if the map entry is
 deleted.

 * Made corresponding changes for
 Data.IntMap.updateLookupWithKey. Mentioned that it
 differs from the Data.Map version.

 Ticket:
 http://hackage.haskell.org/trac/ghc/ticket/1611

 Andriy
 }}}

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


More information about the Glasgow-haskell-bugs mailing list