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()
βοΈ
I use nixos btw
I enjoy open source, music and penguins! Nothing out of the ordinary...
-
/dev/null
- ::1
-
21:23
(UTC -03:00)
Highlights
- Pro
Pinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.