Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#792 closed task (fixed)

add viewMin/Max

Reported by: jpbernardy Owned by:
Priority: normal Milestone: 6.6
Component: libraries/base Version: 6.5
Keywords: collections Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: N/A Blocked By:
Blocking: Related Tickets:

Description

Have a function to get min/max element, remove it from the collection, and tolerate an empty collection (fail in a monad).

It will probably be added to the Map class.

refs:
http://www.haskell.org//pipermail/libraries/2006-June/005446.html
http://www.eecs.tufts.edu/~rdocki01/docs/edison/Data-Edison-Assoc.html

Change History (4)

comment:1 Changed 7 years ago by igloo

  • Milestone set to 6.8
  • Test Case set to N/A

comment:2 Changed 7 years ago by jpbernardy

  • Milestone changed from 6.8 to 6.6
  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:4 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.