Skip to content

Bug in Data.Generics

Observe the following:

Prelude> :m +Data.Generics
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2))
"Prelude.(,)"
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2,3))
"Prelude.(,)"
Prelude Data.Generics> dataTypeName (dataTypeOf (1,2,3,4))
"Prelude.(,,,)"

Probably a pasto in Data.Generics.

Trac metadata
Trac field Value
Version 6.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC lennart@augustsson.net
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information