Skip to content

Commit

Permalink
fix(Curry.hrl): fix warning curryIO unused
Browse files Browse the repository at this point in the history
  • Loading branch information
EMQ-YangM authored and sdzx-1 committed Sep 30, 2021
1 parent 87ab0d4 commit b30a1f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/Foreign/Curry.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

-include("./Curry.hrl").

curryIO(Fun) -> ?IO(curry(Fun)).

applyIO(Fun, Args) ->
apply(?RunIO(Fun), Args).

Expand Down
2 changes: 0 additions & 2 deletions lib/Foreign/Curry.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

-include("../Foreign.hrl").

curryIO(Fun) -> ?IO(curry(Fun)).

%% Curry a function
curry(Fun) -> curry(Fun, arity(Fun)).

Expand Down

0 comments on commit b30a1f3

Please sign in to comment.