purescript-deprecated/purescript-eff

Ideas for fewer transitive dependencies?

chexxor opened this issue · 1 comments

I discovered just now that Eff now has a transitive dependency on ps-control and ps-invariant now, as those are dependencies of ps-monoid, added recently by #32.

A bit disappointing, but just an observation. Take a look at the packages required to do main = log "Hello sailor":

https://github.com/chexxor/documentation/blob/ad508b5f7c49b07542a69b88af36218717ab8e31/guides/Dependency-Management/Git.purs

Gotta pull in purescript-control and those fun things, just for "Hello World"!

Again, not a problem, really, just a bit disappointing that purescript-control needs to be installed to do the Hello World program.

Just opening an issue to collect suggestions for improving this.

Sorry, I don't think this is a worthwhile endeavour. The vast majority of packages depend on control and invariant anyway, and they're both very small. To me, the benefit having the Monoid Eff instance clearly outweighs any drawback of these dependencies.