danidiaz / dep-t

Dependency injection for records-of-functions.
http://hackage.haskell.org/package/dep-t
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Rename "env" type variable to "deps" in signatures. #27

Closed danidiaz closed 1 year ago

danidiaz commented 1 year ago

"env" is often used elsewhere as the environment to some unrelated ReaderT (example) and it gets confusing.

So better use deps as the type variable for the DI context, and also for the corresponding term-level parameters.

danidiaz commented 1 year ago

Added in 2f59f87eb3f01f1e9a8e877fd9dcd91a5f64c534, although some remain.