Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
tapWith :: forall e r rInitial a. (FirstOrder e "tapWith", Coercible (e (Sem rInitial) a) (e (Sem r) a), Member e r) => (e (Sem rInitial) a -> Sem r ()) -> e (Sem rInitial) a -> Tactical e (Sem rInitial) r a #
Enables to call action before forwarding request to underlying interpreters. Useful for logging.