Open L0neGamer opened 6 months ago
Note that mono-traversable
has very few non-core library dependencies (ones that GHC itself needs to build). Including transitive dependencies but excluding tiny libraries like tagged
, I see
vector
(+ vector-algorithms
, vector-stream
, bitvec
, primitive
)unordered-containers
(+ hashable
)Both vector
and unordered-containers
are extremely common libraries (e.g. both are dependencies of aeson
) and not particularly large.
Do you think it would be worth having a
mono-traversable-class
package that defines the classes, and thenmono-traversable
can export the instances of those classes? It would result in orphan instances, but it would mean that people can rely on a smaller package if they're accepting of a simpler interface.