swap minView/maxView return value.
jeanphilippe.bernardy at gmail.com
Tue Feb 13 07:51:53 EST 2007
I've attached a (obvious) patch to the ticket.
I propose to apply it the 19th.
On 2/6/07, Jean-Philippe Bernardy <jeanphilippe.bernardy at gmail.com> wrote:
> 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
> still short-lived.
> 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