The Direct module exposes way too much
treeowl opened this issue · comments
David Feuer commented
I think it's pretty weird that Direct.Par
derives a MonadReader Sched
instance. It's also pretty weird that Direct
exposes the Sched
type despite not offering any documentation of it or any functions for working with it. I think it probably makes sense to remove that instance and require users to import DirectInternal
to get the Sched
type.
Simon Marlow commented
Agreed, and I definitely support efforts to clean up and document the API here.