aelve / haskell-issues

An unofficial issue tracker for all things Haskell-related
18 stars 0 forks source link

Feature: Annotate definitions with package dependencies #47

Open Gurkenglas opened 7 years ago

Gurkenglas commented 7 years ago

Then those dependencies needn't go in your whole project, and the definitions would only activate when all dependencies are in scope for some other reason/using the definition would activate the dependency.

Lens could come including batteries that are transparent until you need them!

See https://github.com/aelve/haskell-issues/issues/17.

Gurkenglas commented 7 years ago

haskeline could provide MonadBase instances, which it currently can't because it doesn't want to add dependencies to ghc which depends on haskeline. https://github.com/judah/haskeline/pull/40

Presumably, that's also why it doesn't lift mtl classes through InputT.