init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
-module(gleam@function).
|
||||
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
|
||||
-define(FILEPATH, "src/gleam/function.gleam").
|
||||
-export([identity/1]).
|
||||
|
||||
-if(?OTP_RELEASE >= 27).
|
||||
-define(MODULEDOC(Str), -moduledoc(Str)).
|
||||
-define(DOC(Str), -doc(Str)).
|
||||
-else.
|
||||
-define(MODULEDOC(Str), -compile([])).
|
||||
-define(DOC(Str), -compile([])).
|
||||
-endif.
|
||||
|
||||
-file("src/gleam/function.gleam", 3).
|
||||
?DOC(" Takes a single argument and always returns its input value.\n").
|
||||
-spec identity(CLV) -> CLV.
|
||||
identity(X) ->
|
||||
X.
|
||||
Reference in New Issue
Block a user