Ticket #792 (closed task: fixed)

Opened 7 years ago

Last modified 5 years ago

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

Changed 7 years ago by igloo

  • testcase set to N/A
  • milestone set to 6.8

Changed 6 years ago by jpbernardy

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 6.8 to 6.6

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

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