In other words, if I have a declaration like
data Identity a = Identity a
why can't GHC see that I only have one constructor and pretend that it is seeing newtype
instead of data
?
In other words, if I have a declaration like
data Identity a = Identity a
why can't GHC see that I only have one constructor and pretend that it is seeing newtype
instead of data
?