fix(maybe): correct `apply/2` typespec
Co-authored-by: ieQu1 <99872536+ieQu1@users.noreply.github.com>
This commit is contained in:
parent
84db57f8df
commit
be3a0ce974
|
@ -45,7 +45,7 @@ define(Term, _) ->
|
|||
Term.
|
||||
|
||||
%% @doc Apply a function to a maybe argument.
|
||||
-spec apply(fun((maybe(A)) -> maybe(A)), maybe(A)) ->
|
||||
-spec apply(fun((A) -> maybe(A)), maybe(A)) ->
|
||||
maybe(A).
|
||||
apply(_Fun, undefined) ->
|
||||
undefined;
|
||||
|
|
Loading…
Reference in New Issue