Open Gurkenglas opened 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.
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.