Then it implicitly returns nil (which is actually a syntactic sugar for the atom :nil, same as true and false are syntactic sugar for :true and :false). Try this:
defmodule Nothing do
def nothing()
end
end
And then invoke Nothing.nothing() in iex. You’ll get nil.






















