-
-
Save cored/2ae6cecf044916c6f123dd69be93c256 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
{:ok, 1, "a"} | |
# pattern match | |
{:ok, result} = {:ok, "good"} | |
# this raises a match error | |
{:ok, result} = {:ok, "good", "one more"} | |
# empty tuple | |
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment