#1543: flag to define transpose [] == _|_
--------------------------------+-------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: minor | Resolution: wontfix
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
--------------------------------+-------------------------------------------
Changes (by igloo):
* resolution: => wontfix
* status: new => closed
Comment:
I'm not convinced that a flag to alter library function definitions is a
good idea.
If you want a different definition then you can always define a new
function yourself (possibly calling the standard function for the non-[]
case).
If you think that the standard definition should be changed then you will
need to follow http://www.haskell.org/haskellwiki/Library_submissions.
Also, I'm not sure that the alternate definition you propose really helps
you; you'll still need to write an explicit case for [] anyway. It does
mean that you'll get a runtime error rather than the program continuing
regardless, admittedly.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1543>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs