> You just can't name a constructor in an export list. So if you say "T",
> you can't mean the constructor T, you must mean the type or class T.
OK, a perfectly good solution and explanation. I then suggest that
you change the wording in the report. Currently it says (p. 44)
"Data constructors may not be named in export lists in any other way."
:::
This suggests to me that it somehow possible to name them, but erroneous
to name them. It is in fact impossible.
-- Lennart
- Modules again Lennart Augustsson
- Re: Modules again Simon L Peyton Jones
- Re: Modules again Simon L Peyton Jones
- Lennart Augustsson
