Open expipiplus1 opened 6 years ago
Few comments
distributive
is Haskell98 package.tagged
and base-orphans`.So I suggest vector-sized
depends on distributive
.
(EDIT: I'm also :-1: on adding dependency to adjunctions
, where Representable
is defined).
Addition, see https://raw.githubusercontent.com/phadej/acme-kmett/master/deps-8.4.png distributive
is at the bottom of Edward's package hierarchy.
oops! I should have probably opened this against adjunctions
! That's where the more heavy dependency pull in for vector-sized is.
It would be good to get your thoughts on instances for sized vectors in the
vector-sized
package: https://hackage.haskell.org/package/vector-sizedThese instances already exist in the vector-sized package, however at lestthe
Representable
instance is probably going away in the next major release. See here for the discussion: https://github.com/expipiplus1/vector-sized/issues/39vector-sized
has a very light dependency tree, and is a pretty textbook example of a distributive and representable functor. It would be nice if these instances could find a new home here.