Applying multiple functions to the same value point-free style in Haskell
Others have already posted how you can do this using the Reader monad, but that’s not the only way. It turns out that your second function is pretty close. I think you meant to post foobar’ x = (`map` [id, reverse]) ($ x) Since the x is already near a rightmost position, you’re almost there. … Read more