patch applied (packages/base): Generic functions that take integral
arguments should work the same way as their prelude counterparts
Ian Lynagh
igloo at earth.li
Wed Sep 10 11:23:19 EDT 2008
Thu Aug 21 19:27:55 PDT 2008
* Generic functions that take integral arguments should work the same way as their prelude counterparts
The Prelude functions drop, take, and splitAt are unfailing (never call error). This patch changes the Data.List generic versions to behave the same way. At present, they call error on negative arguments.
M ./Data/List.hs -10 +8
View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20080822022755-da39a-9a1dc0bec5a4d244657bf5c833743d223a84ab34.gz
More information about the Cvs-libraries
mailing list