darcs patch: Add proximal lookup functions in Map (and 2 more)

Adam Langley agl at imperialviolet.org
Tue May 22 16:48:08 EDT 2007


On 5/22/07, Ross Paterson <ross at soi.city.ac.uk> wrote:
> nearest needs Num, but the other two shouldn't.

That's a great point, I hadn't thought about that. I don't know if
people usually send a correction patch, or remake the patch but I've
done the former:

Tue May 22 13:41:29 PDT 2007  agl at imperialviolet.org
 * Num k isn't needed for nearestGreaterOrEqual nor nearestLesserOrEqual

-- 
Adam Langley                                      agl at imperialviolet.org
http://www.imperialviolet.org                       650-283-9641
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map-correction
Type: application/octet-stream
Size: 62185 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/libraries/attachments/20070522/5935f414/map-correction-0001.obj


More information about the Libraries mailing list