Feature Request: Implicit to convert ( Session => Unit ) to Expression[Session]

When writing code to write debug output to the console, you always have to finish it up by returning the input session. Would it be a bad thing if the system were smart enough to recognize that when I have a function that returns Unit, that means I don’t care to update the session?

implicit def readOnlySessionInspection( f : ( Session => Unit ) ) : Expression[Session] =
(session) => {
f(session)
session
}