Mistake in error messages for importing infix constructors
|Reported by:||ivanm||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
With the following import statement:
GHC provides the error:
test.hs:1:22: In module `Data.Sequence': `:<' is a data constructor of `ViewL' To import it use `import Data.Sequence (ViewL (:<))' or `import Data.Sequence (ViewL (..))' Failed, modules loaded: none.
However, that first "fix" isn't correct: it should be:
(which is a bit of a mouthful :p).
I don't have access to 7.2.1, so I'm not sure if this error still exists.