lytlang/lib/lytlang.ex

32 lines
318 B
Elixir

defmodule Lytlang do
@moduledoc """
Documentation for Lytlang.
"""
@doc """
Hello world.
## Examples
iex> Lytlang.hello()
:world
"""
def hello do
:world
end
@doc """
Echo.
## Examples
iex> Lytlang.echo("world")
"world"
"""
def echo(s) do
s
end
end