defmodule User do
def create_user do
%{
name: "Mateus Alves",
role: "Software Developer",
languages: ["Portuguese", "English"],
education: "BSc @ UNIJORGE"
}
|> (fn user ->
"""
Name: #{user.name}
Role: #{user.role}
Spoken Languages: #{Enum.join(user.languages, ", ")}
Education: #{user.education}
"""
end).()
|> IO.puts()
end
end
User.create_user()
redyf / fridge-chaos Goto Github PK
View Code? Open in Web Editor NEWBrowser based game desenvolvido no Construct 2
Home Page: https://redyf.github.io/Fridge-Chaos/
License: MIT License