Skip to content

Commit 634fa0d

Browse files
authored
Merge pull request #770 from basho/delete-unused-compose-functions
Delete unused compose and multicompose functions
2 parents e92d611 + 1abb1c7 commit 634fa0d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/riak_repl_ring.erl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
fs_enabled/1,
3636
set_modes/2,
3737
get_modes/1,
38-
compose/2,
39-
multicompose/1,
4038
pg_enable_trans/2,
4139
pg_disable_trans/2,
4240
pg_enabled/1,
@@ -495,11 +493,6 @@ del_nat_map(Ring, Mapping) ->
495493
get_nat_map(Ring) ->
496494
get_list(nat_map, Ring).
497495

498-
%% Function composition
499-
compose(F,G) -> fun(X) -> F(G(X)) end.
500-
multicompose(Fs) ->
501-
lists:foldl(fun compose/2, fun(X) -> X end, Fs).
502-
503496
%% unit tests
504497

505498
-ifdef(TEST).

0 commit comments

Comments
 (0)