Consider this expression (taken from Real World Haskell ch. 8, which I try to simplify)
isElfFile :: FilePath -> IO Bool
isElfFile path = return . hasElfMagic =<< L.readFile path
How do I make a point-free version of this function? I tried using its the other bind operation >>=, lifting hasElfMagic, but none seems to be working.