2533: Generic functions that take integral arguments should work the same way as their prelude counterparts

Jim Apple jbapple+haskell-lib at gmail.com
Thu Aug 21 22:47:03 EDT 2008


http://hackage.haskell.org/trac/ghc/ticket/2533

Deadline: Sept 7

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.

Jim


More information about the Libraries mailing list