Ticket #5418 (closed bug: duplicate)
Constructor import error message suggests invalid syntax
Description
In module `Data.List.NonEmpty': `:|' is a data constructor of `NonEmpty' To import it use `import Data.List.NonEmpty (NonEmpty (:|))' or ...
That is not a very good suggestion, since it won't compile. It should be:
`import Data.List.NonEmpty (NonEmpty ((:|)))'
Change History
Note: See
TracTickets for help on using
tickets.
