This talk mentions other reasons for the move away from the magrittr pipe, apparently it was very difficult to debug: https://www.youtube.com/watch?v=X_eDHNVceCU&t=1h08m33s
y = h(f(g(x)))
where do you put the print statements or loggers?
y = h (f (traceShowId (g x)))
(Haskell is normally pure, but these functions from Debug.Trace are a notable exception.)Or use Stickers provided by Sly which sort of log things as they change. https://joaotavora.github.io/sly/#Stickers In that case you'd highlight the form starting at f, and turn a sticker on. Then run the code, sticker outputs into a window.