Skip to content

The modules in semialign have a lot of overlapping exports #198

@mitchellwrosen

Description

@mitchellwrosen

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 and Data.Semialign:

  • Align(..)
  • Unalign(..)
  • alignVectorWith
  • lpadZip
  • lpadZipWith
  • padZip
  • padZipWith
  • rpadZip
  • rpadZipWith
  • salign

These symbols are exported by both Data.Semialign and Data.Zip:

  • Unzip(..)
  • Zip(..)
  • unzipDefault

And finally, these symbols are exported by Data.Align, Data.Semialign, and Data.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions