[GHC] #2533: Generic functions that take integral arguments
should work the same way as their prelude counterparts
GHC
trac at galois.com
Thu Aug 28 08:53:55 EDT 2008
#2533: Generic functions that take integral arguments should work the same way as
their prelude counterparts
-------------------------------+--------------------------------------------
Reporter: japple | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------------+--------------------------------------------
Comment (by malcolm.wallace at cs.york.ac.uk):
I agree that the generic versions should match the behaviour of the Int-
specific versions. As I recall, the Int-specific Prelude functions
originally called error, but this was changed around the time of Haskell
1.4/H'98. The failure to change the generic versions at the same time was
just an oversight.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2533#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list