monad-par icon indicating copy to clipboard operation
monad-par copied to clipboard

The Direct module exposes way too much

Open treeowl opened this issue 7 years ago • 1 comments
trafficstars

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.

treeowl avatar Jul 05 '18 21:07 treeowl

Agreed, and I definitely support efforts to clean up and document the API here.

simonmar avatar Jul 18 '18 15:07 simonmar