2019-05-11 13:01:39 -05:00
|
|
|
defmodule Lytlang do
|
|
|
|
@moduledoc """
|
|
|
|
Documentation for Lytlang.
|
|
|
|
"""
|
|
|
|
|
|
|
|
@doc """
|
|
|
|
Hello world.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
iex> Lytlang.hello()
|
|
|
|
:world
|
|
|
|
|
|
|
|
"""
|
|
|
|
def hello do
|
|
|
|
:world
|
|
|
|
end
|
|
|
|
|
2019-05-11 14:00:46 -05:00
|
|
|
@doc """
|
|
|
|
Echo.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
iex> Lytlang.echo("world")
|
|
|
|
"world"
|
2019-05-11 13:01:39 -05:00
|
|
|
|
2019-05-11 14:00:46 -05:00
|
|
|
"""
|
|
|
|
def echo(s) do
|
|
|
|
s
|
2019-05-11 13:01:39 -05:00
|
|
|
end
|
|
|
|
end
|