Switch to the monad library

That library is partly based on Macro.Monad and contains more features.
Replace the |> hack by P.connect(list)
Merge branch 'feature/switch-to-monad-lib' into develop