Skip to content
  • Jim Apple's avatar
    Generic functions that take integral arguments should work the same way as... · ee17e68c
    Jim Apple authored
    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.
    
    ee17e68c