Current section

Files

Jump to
sketch_lustre src sketch@lustre@internals@function.erl
Raw

src/sketch@lustre@internals@function.erl

-module(sketch@lustre@internals@function).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/sketch/lustre/internals/function.gleam").
-export([tap/2]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(false).
-file("src/sketch/lustre/internals/function.gleam", 1).
?DOC(false).
-spec tap(OKG, fun((OKG) -> any())) -> OKG.
tap(A, Next) ->
Next(A),
A.