-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The modules in semialign
have a lot of overlapping exports
#198
Comments
In the beginning there was only I'm not really keen to just remove exports, as that would be breaking change for no reason. If there will be another breaking change, than maybe then would make sense to bundle.
Say that to |
The way HLS suggests four options per module is HLS's issue. |
I would like to politely object to the "no reason" characterization. I believe cleaning up the API is a noble cause, highly valuable for its own sake! As always, this must be weight against all factors, but IMO a clean API is significantly more important than "no reason". edit: I am also aware that the problem is widespread, including in |
Hi there,
I've noticed that the
semialign
package exports many symbols from more than one module.These symbols are exported by both
Data.Align
andData.Semialign
:Align(..)
Unalign(..)
alignVectorWith
lpadZip
lpadZipWith
padZip
padZipWith
rpadZip
rpadZipWith
salign
These symbols are exported by both
Data.Semialign
andData.Zip
:Unzip(..)
Zip(..)
unzipDefault
And finally, these symbols are exported by
Data.Align
,Data.Semialign
, andData.Zip
:Semialign(..)
I would not have ever noticed maybe 5 years ago, but now HLS is robust enough to recommend imports when a symbol is out of scope. So, I think it would be preferred if each symbol was only exported by one module.
The text was updated successfully, but these errors were encountered: