Created
June 1, 2018 00:51
-
-
Save nicolasblanco/9842d60f7e69b31d0e8516eda50bca1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with {:ok, result} <- do_some_heavy_stuff, | |
{:ok, second_result} <- do_other_stuff(result) do | |
send_email(second_result) | |
else | |
error -> # ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment