Skip to content

Instantly share code, notes, and snippets.

@coderdan
Created November 25, 2019 00:43
Show Gist options
  • Save coderdan/aa4a056189a604eb8991d220616e7789 to your computer and use it in GitHub Desktop.
Save coderdan/aa4a056189a604eb8991d220616e7789 to your computer and use it in GitHub Desktop.
def print_name(%User{firstname: fname, lastname: lname}) do
"#{fname} #{lname}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment