In general, use >> if the actions don’t return a value, >>= if you’ll be immediately passing that value into the next action, and do-notation otherwise.
In general, use >> if the actions don’t return a value, >>= if you’ll be immediately passing that value into the next action, and do-notation otherwise.