swap minView/maxView return value.
jeanphilippe.bernardy at gmail.com
Tue Feb 6 08:54:21 EST 2007
Some time ago (before ghc 6.6 / base 2.0 release), I introduced
minView and maxView in Data.Set and Data.Map (at a user's request). I
agreed with Robert Dockins to implement the same functionality as in
his version of the Edison library. Unfortunately, I uselessly swapped
the return values of minView and maxView, introducing a difference
both with the corresponding functions in the edison library and
similar functions in Data.Map/Set.
I propose to restore the symmetry, at the cost of incompatibility.
The incompatibility is probably acceptable because the functions are
See the trac ticket for details.
I provide no patch nor QuickCheck properties because of the triviality
of the change.
More information about the Libraries