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 23:31:10 EDT 2008


BTW, where can I put tests for Data.List functions?

http://darcs.haskell.org/testsuite/tests/libraries/Data/test_List.hs

has not been updated in almost two years, and includes only two good tests.

Jim

On Thu, Aug 21, 2008 at 7:47 PM, Jim Apple
<jbapple+haskell-lib at gmail.com> wrote:
> 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