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

Generic function to apply an `Advice` to all the functions in a record #6

Closed danidiaz closed 3 years ago

danidiaz commented 3 years ago

It would complement the technique in issue #5.

To simplify things, it could be ok to limit the function to advices that don't touch the result value of the monadic action.

danidiaz commented 3 years ago

Added in 5b6654fa47ec08e74503ffbb600cd438e83ef6a3.