Add Gleam (#67)

This commit is contained in:
Paulo F. Oliveira
2021-08-03 18:56:12 +01:00
committed by GitHub
parent 4fbbcf2e6c
commit c988d89031
39 changed files with 442 additions and 64 deletions
@@ -0,0 +1,16 @@
{application, mylib, [
{description, "An OTP library"},
{vsn, "0.1.0"},
{registered, []},
{mod, nil},
{applications, [
% OTP dependencies
kernel,
stdlib
]},
{env,[]},
{licenses, ["Apache 2.0"]}
]}.
+17
View File
@@ -0,0 +1,17 @@
%%%-------------------------------------------------------------------
%% @doc mylib public API
%% @end
%%%-------------------------------------------------------------------
-module(mylib).
-export([hello/0]).
-ignore_xref(hello/0).
-spec hello() -> world.
hello() ->
Ret = world,
_ = io:format("~p", [Ret]),
Ret.
%% internal functions