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

Add "NullEnv" type. #2

Closed danidiaz closed 3 years ago

danidiaz commented 3 years ago

It would be an environment with no fields, the DepT analogue of ReaderT's ().

Might be useful for examples.

danidiaz commented 3 years ago

Added in 507303cf8b822b383cfd9cf749d2f0b6886b6269 as NilEnv.