Current section

Files

Jump to
lazy_doc lib lazy_doc.ex
Raw

lib/lazy_doc.ex

defmodule LazyDoc do
@moduledoc """
Documentation for `LazyDoc`.
"""
@doc """
Hello world.
## Examples
iex> LazyDoc.hello()
:world
"""
def hello do
:world
end
@doc """
Parameters
None
Description
Outputs "Hello world" to the console.
Returns
None
"""
def func_without_doc(), do: IO.puts("Hello world")
end